31
Views
3
Comments
Change line colors the my chart
Question

I using datapoint_init for change line colors the my chart. For charts the column and pizza is ok, but line chart  generates error.

Rank: #115

Hi,

What is the error message you are getting?

Regards.

Rank: #1871

Hello Priscila. I'm using a variable of type DataPoint. This record has an atribute color and you can change it by using an assign. This way:

Using this, the line color will change. I used a yellow color. I hope it helps you ! Cheers.

mvp_badge
MVP
Rank: #2

Note that you wouldn't want to change or set the colour with each data point, that's just for highlighting specific ones. Set the series colour to have the same colour for an entire series.