Hello,

Where and how is it possible to change graphs colors : I tried with Charts, in some files, ..., no way, and it does not seem easy with Highcharts library

Comments

cmsMinds’s picture

Hello

If you want to change default color in Highcharts. Please read it http://www.highcharts.com/docs/chart-design-and-style/colors.
I hope, it will be helpful for you.

corbin’s picture

thank you, I already did get it, and also this one and some other like this fiddle example, but the programmation level is too high for me :
I only want to substitute colors as following
colors: ['#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce'],

Because, though I download highcharts 4.0, it seems to be using

In Highcharts 3.x, the default colors were:\r\n
colors: ['#2f7ed8', '#0d233a', '#8bbc21', '#910000', '#1aadce', \r
as I found in highcharts.json : I actually understand nothing !!! (and modify "Chart colors" in "Charts" has no effect) Auto-edit : as the Highcharts solution was too difficult for me, I chose the very basic solution : I found colors in sites/all/modules/charts/charts.module line 363 and changed them.

CC