Sets marker type to be rendered at each dataPoint. While markers are helpful in highlighting individual dataPoints, they do not help much when the dataPoints are crowded. In case of large number of dataPoints it is recommended to disable markers in order to improve the appearance and performance of chart.
Same marker type is also used in legend unless overridden by legendMarkerType property.
Default: “circle”var chart = new CanvasJS.Chart("container", { . . data: [{ markerType: "triangle", }, ] . . }); chart.render();
Also See:
6 Comments
my markerType not shown and when ever mouse over it show markerType,What is problem pls slove this
lava kumar,
It’s difficult to guess the problem without looking into the code. So please create a jsfiddle with your code so that we can have a look.
Is it possible to have different markers to circle, square, cross and triangle?
Do you mean to have different markerType for every dataPoint ? If not, please explain your question in detail.
i want to use a icon same as markerType, imposible?
This feature is not available yet. We’ll consider adding this into our future version.