Defines how y axis values must be formatted before they appear on the indexLabel or toolTip. You can format numbers and date time values using this property.
Notesvar chart = new CanvasJS.Chart("container", { . . data: [{ yValueFormatString: "$####.00", }, ] . . }); chart.render();
Comments 2
Server Side Technologies |
Front End Technologies |
Contact |
|
---|---|---|---|
ASP.NET MVC Charts | JavaScript Charts | FAQs | |
PHP Charts | jQuery Charts | Sales Enquiries | |
Spring MVC Charts | React Charts | Support Forum | |
JSP Charts | Angular Charts | Careers | |
JavaScript StockCharts | |||
Privacy Policy © fenopix
Is it possible of displaying the y axis, tool tip in HH:mm format.
Yes it is possible, using CanvasJS.formatDate, contentFormatter and labelFormatter.
You can refer to this fiddle https://jsfiddle.net/canvasjs/7dqw4p3L/