wuxudong / react-native-charts-wrapper

a react native charts wrapper (support android & iOS)
2.44k stars 658 forks source link

Is there any way to customize the colors of line and circle for each value in line chart? #906

Open christopher-18 opened 2 years ago

christopher-18 commented 2 years ago

I want to show different color of circle and line based on some condition, in a line chart. How can i achieve? Like this.

Screenshot 2022-10-21 at 18 33 03
christopher-18 commented 2 years ago

able to change the dot color, by using circleColors property which returns array. But still not able to customize the color of line based on the condition. On using colors - entire line is getting that color, but i need show the transition based on y value with the range that is shown on the y axis.

KeaganStevens commented 1 year ago

@christopher-18 were you able to figure it out ?