PDA

View Full Version : Ext.chart hidde/do not draw series item on startup



pos
2 Nov 2011, 6:26 AM
Hi
This is my first step in the ExtJS Chart world and a wonder if it exist any option that do not draw the diagram on startup
Like the picture bellow.
That forces the user to click on it to active that specific line diagram.
As now the diagram is loaded with all the data series activated.
Have found many open like hidden:false , showInLegend: false but that seems not to help..


28991

mitchellsimoens
2 Nov 2011, 8:19 AM
So you want the chart to be blank but the legend to show the different series?

pos
2 Nov 2011, 10:33 PM
Yes that is correct,

I wonder if it is possible to for example start charts only displaying only 2 series and the user must click on the other series in the legend to activate them,
So the best would be if it exist any option like “showInChart” that you could set to false when you create the series.

Now all series start active in the charts and you must click on them in the legend to remove them from the chart.