Home forums Using CanvasJS Set image as a marker Reply To: Set image as a marker

#14726

Suyash Singh
Moderator

@nehasingh,

1. Default Markers are automatically disabled when number of dataPoints are more. You can manually override the automatic disabling/enabling of markers by setting markerSize to a value equal to or greater than zero. Please have a look at this jsfiddle.

2. You can show the marker image only for current dataPoint by placing the marker Image on top of the last dataPoint every time the chart is updated as in this jsfiddle.

___
Suyash Singh
Team CanvasJS