zValueFormatString: String

Defines how z values is formatted before they appear on the indexLabel or toolTip. You can format numbers using this property.

  • z value is used only in Bubble chart.

var  chart =  new  CanvasJS.Chart("container",
 data: [{
   zValueFormatString: "##.#0 mm",


Try it Yourself by Editing the Code below.

In order to provide better support, we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.


  1. Pingback: CanvasJS Charts 1.5 goes GA - CanvasJS