How to display Tooltip Outside the chart area

Hi, I want to display the tooltip data outside of the area of the SfCartesianChart(), say for example inside a Container() Widget just above the SfCartesianChart() Widget. I have trying to do this using setState but the chart gets reloaded when set state is called. Is there a way to do 

2 Replies 1 reply marked as answer

DD Dharanidharan Dharmasivam Syncfusion Team April 19, 2021 01:00 PM UTC

  
Hi Kshitij, 

Greetings from Syncfusion. We are preparing the sample based on your requirement and we will update you the status within one business day (April 20, 2021). 

Thanks, 
Dharani. 



DD Dharanidharan Dharmasivam Syncfusion Team April 19, 2021 01:34 PM UTC

Hi Kshitij, 
 
Greetings from the Syncfusion team. We've looked over your request and prepared a sample for you to review, please feel free to use it. We've saved the tooltip data from the onTooltipRender callback in a global variable. After that, use the global key to refresh the state of the custom widget. As a result, the tooltip data appears outside of the chart area. 
 
 
Thanks, 
Dharani. 
 


Marked as answer
Loader.
Up arrow icon