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.
var chart = new CanvasJS.Chart("container", { . . data: [{ markerType: "triangle", }, ] . . }); chart.render();
Also See:
Comments 6
Server Side Technologies |
Front End Technologies |
Contact |
|
---|---|---|---|
ASP.NET MVC Charts | JavaScript Charts | FAQs | |
PHP Charts | jQuery Charts | Sales Enquiries | |
Spring MVC Charts | React Charts | Support Forum | |
JSP Charts | Angular Charts | Careers | |
JavaScript StockCharts | |||
Privacy Policy © fenopix
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.