Sign in to follow this  
qzgbd9

Color Palette

Recommended Posts

How can I change de color palette of the charts. No using the "1-5" palette parameter.

For example I need to change de default palette to all oranges tones.

I'm using ploting from a DB, and I'm using variables values so I can't set the color in the "set", I need to re-specify the entire palette.

Is there a file that define the palette? Is the palette defined in the ".fla"?.

Thanks.

dgelmer

Edited by Guest

Share this post


Link to post
Share on other sites

This may be of no use to you at all as it's not for charts generated directly with XML, but if you use FusionCharts with PHP you can use php class. Then you can set your own color palette in the file fusioncharts_gen.php. Just search the file for the string

function colorInit()

and put your own hex codes in place of the defaults.

Read the documentation "Use with PHP" first and then go through "FushionCharts with PHP Class" and finally do the examples in "Using with PHP Class"  This sounds daunting but it's really not that difficult and might be the best answer for you.

Good luck!

--Liz

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