-
18 Dec 2012 9:40 PM #1
highlight line chart?
highlight line chart?
With a column chart I can highlight a specific data point using something like this:
but I would like to do the same thing with a line chart.Code:series.highlightItem(items[i]);
currently if I use the method above the entire line is highlighted I would like to highlight the data point only like on a hover. is this possible?
-
18 Dec 2012 10:09 PM #2
ok it looks like the highlight is working but The radius setting is lost and it makes it not very obvious. anyways to keep the radius setting with the following function?
Code:series = Ext.getCmp('myChart').series.get(0); series.highlight = true; series.unHighlightItem(); series.cleanHighlights(); items = series.items; series.highlightItem(items[3]); series.highlight = false;


Reply With Quote