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

Managing colors in FacetCharts

$
0
0
Hi Team,

I have 2 facet charts with the below Data sets

Data Set 1
------------
ABC 10
XYZ 20
EFG 30
BER 55


Data Set 2
------------
ABC 50
EFG 40


Now, my requirement is to have colors to be consistent i.e., if ABC is red in first chart then it has to be red in second too.

I had a look at the documentation but couldnt get through it. The only property that I see is dataColors which takes an input as an array of colors.
Even If I to go with this approach by giving the dataColors as an array, there are some rows in the 2nd chart, so EFG is taking the color of XYZ which shouldnt happen.

Is there a possibility to specify color based on a column
or is there any possibility to bind 2 charts to show same colors.

Please let me know any point that could be helpful.

We are working on below environment:

Version: Isomorphic SmartClient/SmartGWT Framework (SmartClient_v90p_2014-03-07_PowerEdition)

Browser: IE9


Thanks in Advance.

Viewing all articles
Browse latest Browse all 4756

Trending Articles