Sign in to follow this  
Wilco

Color Selection Formula in FusionCharts

Recommended Posts

I am working on an Flash-based app that utilizes FusionCharts, and want to coordinate the line colors in the chart with other elements in my app (such as a selection list of the items in the chart, etc.). I know I can't retrieve the colors used for each line in a chart, but I like the bold/rich colors that FusionCharts uses when randomly selecting colors.

 

 

 

How are these random colors selected? I'm guessing it's either from a pre-defined list or some sort of color selection formula. Would it be possible to find out how these colors are generated?

Share this post


Link to post
Share on other sites

It's a pre-defined list of colors in our palette. You may see com/fusioncharts/helper/DefaultColors.as to get the list of colors.

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