tooltipDisplayMode: TrackballDisplayMode.groupAllPoints Error in TrackballBehavior

TrackballBehavior

I got the following error:

Another exception was thrown: Null check operator used on a null value

When I set

tooltipDisplayMode: TrackballDisplayMode.groupAllPoints

It only work with 'floatAllPoints'

What can be wrong?



3 Replies 1 reply marked as answer

SK Sriram Kiran Senthilkumar Syncfusion Team August 26, 2021 02:17 PM UTC

Hi Peter, 
  
Greetings from Syncfusion. We have analyzed your scenario at our end, and we are not able to replicate the reported issue regarding the trackballBehavior throwing null exception when setting the tooltipDisplayMode as groupAllPoints. We have also attached the sample used for testing below and we kindly request you to replicate the reported issue in that sample and revert us so that it will be helpful in providing the solutions sooner. 
  
Regards, 
Sriram Kiram 


Marked as answer

FW Felipe Werlang September 29, 2021 08:43 PM UTC

Please, I customized the trackball tooltip and need to group the points, but it returns null value.

I attached the file.






Attachment: chart_dfa89ff5.zip


SK Sriram Kiran Senthilkumar Syncfusion Team September 30, 2021 01:27 PM UTC

Hi Peter, 

We have analyzed your scenario at our end, and we would like to let you know that, when the trackballDisplayMode is set to TrackballDisplayMode.groupAllPoints. then the groupingInfo field available in the TrackballDetails should be used to retrieve the trackball argument values in the trackball builder. We have also checked the provided sample and modified it accordingly to display trackball tooltip similar to your requirement when its display mode is set to groupAllPoints mode. We have attached the modified sample below for your reference. 
  
  
  
For further reference, please check the user guide links below. 
 
Also, please check our SB trackball customization sample below for reference. 
 
Please check with the above attached sample and revert us if you still have further concerns. 
 
Regards, 
Sriram Kiran 


Loader.
Up arrow icon