PDA

View Full Version : Chart : from store to series.item



rnel
18 Apr 2013, 7:29 AM
Hi,

I'm trying to highlight in a chart an item and the only thing i know about that item is its value as the chart's store element. Meaning, for that item, i know date (x-axis) value is '2013-04-18', so i can found the corresponding element in the store, but how can get the corresponding item object so i can pass it as parameter to chart.serie.highlightItem(item). thanks.

-- thumbs up, for the Extjs 4.2.0 release !

rnel
19 Apr 2013, 11:14 AM
Well, i've found the solution, it's in the chart examples, the complex chart one (http://docs.sencha.com/extjs/4.1.3/#!/example/charts/FormDashboard.html), a clue is series.items[index].storeItem.

Thanks.