Package 

Interface ColorFormatter


  • 
    public interface ColorFormatter
    
                        

    Interface that can be used to return a customized color instead of setting colors via the setColor(...) method of the DataSet.

    • Method Summary

      Modifier and Type Method Description
      abstract Integer getColor(Integer index, Entry entry, IDataSet<?> set) Returns the color to be used for the given Entry at the given index (in the entries array)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getColor

         abstract Integer getColor(Integer index, Entry entry, IDataSet<?> set)

        Returns the color to be used for the given Entry at the given index (in the entries array)

        Parameters:
        index - index in the entries array
        set - the DataSet the entry belongs to