I am looking to customize a few things about how the ad-hoc editor renders charts. Two particular items are to:
1.) customize the color palette used for the bars/columns.
2.) remove the rendering of a legend
How do I do this? The concept of Chart themes do not appear to have any impact upon ad hoc charts (and I can see this mentioned in the admin guide: "Chart themes do not apply to Ad Hoc chart views"). And my attempts to make use of the defaultTheme property in applicationContext-adhoc.xml don't seem to impact anything. From looking in the code, I am wondering if the themes defined in the ad hoc directory (i.e. ocean, olive, forest, etc...) are no longer used in 5.0.1 anyway.
Can anyone shed some light here?
Thanks!
1 Answer:
1) You can modify default color palette used for Ad Hoc View based charts in scripts/adhoc/highchart.datamapper.js file:
Have in mind that changes will be applied to all Ad Hoc View based charts.