Adding Data Points on chart

Good Day,

I'm currently using the sync fusion line chart component to display information about a product over a period of time. I've been looking into the documentation to see if there was a method to add a custom comment at an xy position after you've clicked on it.

Any help would be greatly appreciated 


1 Reply

SB Swetha Babu Syncfusion Team February 25, 2022 03:38 AM UTC

Hi Kinson, 

Greetings from Syncfusion. 

We can achieve your requirement by using the pointClick event in Chart component. We have rendered the information for the point using the annotation when clicking on the specific point. However, we have created the simple react application to demonstrate the same. Please find the below stackblitz link for your sample reference. 


Kindly, revert us if you have any concerns. 

Regards, 
Swetha

Loader.
Up arrow icon