Forum Discussion
AdamKeever1
6 years agoQrew Commander
Not yet. I hope to spend some time on it this week.
- AdamKeever16 years agoQrew CommanderComplete solution in this thread:
Pie Charts
------------------------------
Adam Keever
------------------------------- EverettPatterso6 years agoQrew CaptainYou can save time and improvement any charts using script. With the help of Dan's posts, I am now able to destroy charts and rebuild them with any of the Highcharts API options.
I use IOL on 10 dashboard pages, each has 3 pie graphs and then use those dashboards in iframes on a custom HTML page. It loads 32 pie charts on this one report and modifies them all on page load.
-removes legend
-move labels inside pie
-static colors set for each status, normally charts revert back to their default colors when new records are added each month. Now I just keep the chart on the default colors and let my script change them for me!
Short example - hide legend
var chart = Highcharts.charts[0]; var options = chart.options; chart.destroy(); options.legend.enabled = false; var chart = new Highcharts.Chart(options);
------------------------------
Everett Patterson
------------------------------