Sets the Axis Label color. The value of labelFontColor can be a “HTML Color Name” or “hex” code .
var chart = new CanvasJS.Chart("container", { . . axisX:{ labelFontColor: "red", }, . . }); chart.render();
Comments 3
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 there a way to have the X labels in several specified colours depending on an external value?
miguel,
Sorry, it is not possible to set unique color for each label.
Oh that’s a shame.