Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Facet chart line colors

$
0
0
Hi,
I'm using SmartGWT pro 4.0p-20140318.
I've a use case in which I need to assign color to time series lines based on the retrieved data for e.g. if some data is not present color is RED otherwise GREEN. I tried setting setDataColors() but it gives me IllegalStateException - this property cannot be changed after the component has been created.

Is there any way I can set the data colors after the chart is created? If not, is there any other option?

Thanks.

Viewing all articles
Browse latest Browse all 4756