I need to define specific hex values for each slice in my pie chart.
I\'m following the wiki but the method doesn\'t seem to be working for PieDataSet>
PieDataSet
Found a work around:
final int[] MY_COLORS = {Color.rgb(192,0,0), Color.rgb(255,0,0), Color.rgb(255,192,0), Color.rgb(127,127,127), Color.rgb(146,208,80), Color.rgb(0,176,80), Color.rgb(79,129,189)}; ArrayList colors = new ArrayList(); for(int c: MY_COLORS) colors.add(c); dataSet.setColors(colors);