In my Android projects, I set the color for PieChart, like this
public static int[] COLORS = new int[] { Color.GREEN, Color.BLUE };
That import android.graphics.Color; has only a few colors around 10. I need more color, so I tried to set as a whole, but didn't work. Color.alpha(16777184)for light yellow. Does this code not work? how to set the integer color value here ...?
source
share