zValueFormatString: String

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

Note
  • z value is used only in Bubble chart.
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 data: [{
   zValueFormatString: "##.#0 mm",

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

Try Editing The Code


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

Comment

  1. Pingback: CanvasJS Charts 1.5 goes GA - CanvasJS