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.

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


  1. Pingback: CanvasJS Charts 1.5 goes GA - CanvasJS