0

I want to make a scatter chart

It has a not x,y value but another value that change dot color

if its value over some value

Only i have found was

MPAndroidChart, set different color to bar in a bar chart based on y axis values

this.

But in my case, there is a special value that not effect on the graph

What can i do to solve this problem?

Please help me

문경욱
  • 53
  • 2
  • 9

1 Answers1

0

You need to create ArrayList of third values for each entry after that you need to add following code to change colors respectively:

dataSet.setColors(new int[]{R.color.color1 , R.color.color2} , context);
Muhammad Saad Rafique
  • 3,158
  • 1
  • 13
  • 21