Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By corbin on
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
Hello
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.
Raj Laddha
cmsMinds
rajesh@cmsminds.com
Drupal Development - North Carolina
Thanks, but ...
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
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