Home Forums Chart Support On click event on data points

On click event on data points

Viewing 2 posts - 1 through 2 (of 2 total)
  • #42383

    We have an on click event on the data points to display a popup box but the users are having issues with clicking the data point as the click has to be very specific. We would rather not enlarge the data points as this makes the charts very crowded but I was wondering if there is a way to make the area for the click to register larger? possibly by making the dot that appears when the mouse is by/over a point bigger?



    The click event is fired only within the area of the marker as of now. However, you can set markerBorderThickness to a value greater than 0 and markerBorderColor to transparent to increase the area in which the click event is fired without changing the size of the marker.

    Please check this JSFiddle for a working example.

    Thangaraj Raman
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.