Back to project page Thrift-box.
The source code is released under:
GNU General Public License
If you think the Android project Thrift-box listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.github.mikephil.charting.utils; //from w ww . j ava 2 s. c om import com.github.mikephil.charting.data.Entry; /** * Interface that can be used to return a customized color instead of setting * colors via the setColor(...) method of the DataSet. * * @author Philipp Jahoda */ public interface ColorFormatter { public int getColor(Entry e, int index); }