Sets marker type to be rendered at each dataPoint. If mentioned at dataSeries, markers set here will take precedence.
Default: “circle”var chart = new CanvasJS.Chart("container", { . . data:[ { dataPoints: [ {x: 10 , y: 50 , markerType: "square"}, ], }, ] . . }); chart.render();
Also See: