markerSize: Number

Sets the Size of the marker that is drawn. To display marker in area Chart, set markerSize to a value greater than zero. For line, scatter chart, size it is automatically set unless overridden.

Default: auto. Zero for area chart
Example: 5, 10..
  1. var chart = new CanvasJS.Chart("container",
  2. {
  3. .
  4. .
  5. data:[ {
  6. dataPoints: [
  7. {x: 10 , y: 50 , markerSize: 20},
  8.  
  9. ],
  10.  
  11. },
  12. ]
  13. .
  14. .
  15. });
  16. chart.render();

Try Editing The Code

  Also See:    


If you have any questions, please feel free to ask in our forums.Ask Question