I'm using
- Code: Select all
elements.pieChart.setLegends([""])
To rapidly empty all the legends, but I can't find a similar procedure to use with:
- Code: Select all
elements.pieChart.setValues()
Any suggestion?
Thanks in advance
elements.pieChart.setLegends([""])
elements.pieChart.setValues()
maarten wrote:Can you try
elements.piechart.valueGrid = null;
(haven't tried it myself..it's from the top of my hat)
elements.piechart.valueGrid = null;
elements.pieChart.valueGrid.trimColumns(0);
maarten wrote:
- Code: Select all
elements.piechart.valueGrid = null;
I believe this line of code still forces you to loop.
instead, put this line in the top of your script .
- Code: Select all
elements.pieChart.valueGrid.trimColumns(0);
It will completely clean up your chart.
Users browsing this forum: Bing [Bot] and 17 guests