A string that prepends all the labels on axisY.
var chart = new CanvasJS.Chart("container", { . . axisY: { prefix: "$", }, . . }); chart.render();
Also See:
Comments 4
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
how can you add space between the y axis and the y axis label?
abpai,
Directly it is not possible yet. As a workaround you can use tickLength and tickColor property of y-axis. Here is an example.
I need in the y axis, numbers, but from the -10 to 120, the -10 in the high and 120 in the lower. And interval 10. (Ej: -10, 0, 10, 20, 30,… 120)
Do you know who can I do this?
Thank you
Augusto,
Here is a fiddle for your requirements.