Oct 17, 2012, 11:32 AM
[CLOSED] id chart object
Hi,
I set my code as below
I need to know the id the chart object then I want that the "chartAnalysis" in following string "App.chartAnalysis.series.get(0)"
becomes variable.
How can do for this issue?
Which are the parameters for this function? only "item" ?
Thank you so much.
I set my code as below
var onMouseUp = function (item) {
var series = App.chartAnalysis.series.get(0),
index = Ext.Array.indexOf(series.items, item);
selectedStoreItem = item.storeItem;
App.direct.OnItemMouseUp(selectedStoreItem.get('partNumber'),index);
};
Into the method OnItemMouseUp I create the new chart. when I click on the chart created dinamically this function generate the new one.I need to know the id the chart object then I want that the "chartAnalysis" in following string "App.chartAnalysis.series.get(0)"
becomes variable.
How can do for this issue?
Which are the parameters for this function? only "item" ?
Thank you so much.
Last edited by Daniil; Oct 18, 2012 at 6:32 PM.
Reason: [CLOSED]