Example of extracting series X and Y values from groupingModeInfo ?

Hi

Can you give an example how to extract X/Y values from a chart with multiple series using groupingModeInfo ?

var visibleSeriesList = trackballDetails.groupingModeInfo?.visibleSeriesList


How do I get X and Y values?



4 Replies 1 reply marked as answer

PE Peter August 28, 2021 09:44 AM UTC

I got it working. Thanks


Marked as answer

SK Sriram Kiran Senthilkumar Syncfusion Team August 30, 2021 11:13 AM UTC

Hi Peter, 
 
We are glad to hear that the reported issue is resolved at your end. Please get back to us if you require further assistance and we are always happy is assisting you. 
 
Regards, 
Sriram Kiran 



PE Peter October 7, 2021 07:33 AM UTC

Hi

I can get the X/Y value but the values are not correct.

X axis - DateTime

Y Axis - Double values

When the trackball at the chart area, it gives non correct values. Perhaps it has to do with fully zoomed out chart and partially zoomed chart?

Does the zoom factor play a part? 



YG Yuvaraj Gajaraj Syncfusion Team October 8, 2021 02:24 PM UTC

Hi peter 
 
We have analyzed your query and tried to reproduce the reported scenario with the trackball builder property, in that builder property we have added all visible points values as a text widget and check with the chart zoom in and zoom out scenarios. But the issue is not reproduced at our end, we are getting proper x and y values. We have attached the user guide link and sample which we have used for testing that can be found below. 
 
  
  
If this is not your case, then could you please elaborate on the scenario or try to reproduce the scenario in the attached sample and get back to us. This will be much helpful in providing the solution sooner. 
 
Regards, 
Yuvaraj.

Loader.
Up arrow icon