z: Number

Sets the z value of dataPoint. It is only applicable in case of Bubble chart. This value determines the size of the bubble.


Default: 1
Example: 10, 20, 35..

var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 data: [{
  dataPoints: [
 {  x: 1, y: 5,  z: 15 },
  ],

  },
 ]
 .
 .
});
chart.render();


Try it Yourself by Editing the Code below.

  Also See:    



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