Sets the Axis Title.
var chart = new CanvasJS.Chart("container", { . . axisY:{ title: "axisY Title", }, . }); chart.render();
Also See:
Comments 6
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
I want to include local characters in the title. However, ehn I type them in (e.g. & auml ;) I cannot use them, as they are not interpreted as HTML code…
I cannot post the html codes here, so please have a look at: http://character-code.com/german-html-codes.php
how can we maintain padding between title and yAxis?
We currently support padding for chart title only. So, padding between axis and it’s title is fixed. We will implement this feature in our future version.
I am trying to put in HTML characters (degress symbol) but when I try it outputs the html code, not the symbol – how do we get this to work?
You can use the unicode values (“\u00B0”) to do the same
text: "Displaying Degree Character \u00B0 in Title"