Quantcast
Viewing all articles
Browse latest Browse all 4841

Re: How to get UI5 Chart selected data set index

Hi Ria,

 

I tried with  ObjectName.getChartObject().getSelectedPoint() method, getting index of data set point but I need the dataset(legend) item index and  i registered chartSelectionEventHandler event and calling getSelectedDataSetIndices() method even though i am not getting any result from this method.

 

I am using following code to register event and calling Method.

 

chartobj.registerChartSelectionEventHandler(fnOnSelectChart);

 

function fnOnSelectChart()

{

alert(chartobj.getChartObject().getSelectedDataSetIndices());

alert(chartobj.getChartObject().getSelectedDataSetNames());

}

 

Regards

venkat


Viewing all articles
Browse latest Browse all 4841

Trending Articles