Simple click event for scatter series marker

Greetings!

Is there a way to have a simple click event listener for markers of a scatter series chart? I tried with the chart selection but I don't really want series points to be selectable. I just want to redirect to a different page when clicking on a marker/point.

Regards
Steffen

1 Reply 1 reply marked as answer

DG Durga Gopalakrishnan Syncfusion Team October 5, 2020 11:43 AM UTC

Hi Steffen, 

We have analysed your query. We suggest you to use pointClick event to navigate to another page while clicking a point in a series. We have attached a sample for your reference.  

<ChartComponent pointClick={this.onPointClick.bind(this)}> </ChartComponent>   
onPointClick(args){ 
      window.open("https://ej2.syncfusion.com/home/"), "_blank"; 
} 



Please revert us, if you have any concerns. 

Regards, 
Durga G 


Marked as answer
Loader.
Up arrow icon