28 Feb 2012 3:04 AM #1
Unanswered: Custom Chart Legend
I've created a chart with a legend. In the legend I can show and hide a series.
How can I deactivate this function in one Line
and how can I hide a Line when I start the chart?
28 Feb 2012 7:59 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
There is no easy way to do this. LegendItem has a listener within itself that isn't easily overridable.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
28 Feb 2012 10:07 AM #3
I have a chart with 4 lines and I would sort this by date in the legend (pic). Now I have created a Series for the dates without out xyfields therefore I wold disable the show hide function. Or is there another solution to show the date in the legend only?