Sign in to follow this  
Guest Rajroop

Scatter chart questions - how to change the anchor colors automatically

Recommended Posts

Hi All,

 

 

 

I have a few questions for scatter charts:

 

 

 

1) when I change the palette attribute number, it doesn't change anything

 

2) by default, all the points for different datasets render anchor borders in different colors. This is nice, but how can I make the background in different colors as well? Now it renders as transparent. I understand that I can make any colors manually by changing anchorBgColor. But what if a total number of points is 50-60? How can I force the color changing automatically?

 

 

 

What I need is to render all anchors in different colors and make them solid (not just a border)

 

 

 

Thank you!

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello Amdy,

1) when I change the palette attribute number, it doesn't change anything

The palette attribute number ranges from 1-5. What it does is change the background color theme of the chart and it's font color theme.

I've checked this attribute in our Labs and could not replicate your issue. :D Could you please send you XML code so that we may have a look at what may be going wrong?

2) by default, all the points for different datasets render anchor borders in different colors. This is nice, but how can I make the background in different colors as well? Now it renders as transparent. I understand that I can make any colors manually by changing anchorBgColor. But what if a total number of points is 50-60? How can I force the color changing automatically?

Unfortunately, you can only specify the color for the anchors in the <dataset> element and not for the individual <set> element, as of now. :)

(Ref: http://www.fusioncharts.com/docs/Contents/ChartSS/Scatter.html)

However, you have attain solid colors of the achors by specifying the same Hex color code for both the color and the anchorBgColor attributes in the <dataset> element of the scatter chart, like so:

 <dataset.... color='3399FF' anchorBgColor='3399FF' ....>

I hope this helps. :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this