Commit 33f4985f by Kunj Gupta

Added color changes.

parent 921169f7
...@@ -123,9 +123,9 @@ public class ReportScreen extends AppCompatActivity { ...@@ -123,9 +123,9 @@ public class ReportScreen extends AppCompatActivity {
pieDataSet2.setValueTextSize(0.0f); pieDataSet2.setValueTextSize(0.0f);
pieDataSet3.setValueTextSize(0.0f); pieDataSet3.setValueTextSize(0.0f);
pieDataSet1.setColors(new int[]{Color.RED, Color.GRAY}); pieDataSet1.setColors(new int[]{Color.argb(255, 222,31,41), Color.GRAY});
pieDataSet2.setColors(new int[]{Color.argb(255, 255,165,0), Color.GRAY}); pieDataSet2.setColors(new int[]{Color.argb(255, 255,165,0), Color.GRAY});
pieDataSet3.setColors(new int[]{Color.GREEN, Color.GRAY}); pieDataSet3.setColors(new int[]{Color.argb(255, 108,171,50), Color.GRAY});
PieData pieData1 = new PieData(labelsPie, pieDataSet1); PieData pieData1 = new PieData(labelsPie, pieDataSet1);
PieData pieData2 = new PieData(labelsPie, pieDataSet2); PieData pieData2 = new PieData(labelsPie, pieDataSet2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment