Hi Softlan,
We have analyzed your query. To get the list of selected points, please use OnSelectionComplete event in chart. This event will be triggered after selecting a data point or chart series. We have prepared a sample to display the selected points in table based on your requirement. Please check with the below code snippet and sample.
Code snippet
<div>
<EjsChart @ref="chart" SelectionMode="SelectionMode.Point" IsMultiSelect="true">
<ChartEvents OnSelectionComplete="SelectedIndex"></ChartEvents>
</EjsChart>
</div>
@code{
EjsChart chart = new EjsChart();
public void SelectedIndex(ISelectionCompleteEventArgs Arguments)
{
var data = Arguments.SelectedDataValues;
selectedData = JsonConvert.DeserializeObject<List<SelectedData>>(data.ToString());
Console.WriteLine(selectedData);
}
} |
Screenshot
Sample
Kindly revert us, if you have any concerns.
Regards,
Durga