Sets the Font Color of Axis Title. The value of titleFontColor can be a “HTML Color Name” or “hex” code .
Default: “#333333”var chart = new CanvasJS.Chart("container",
{
.
.
axisX:{
titleFontColor: "red"
},
.
.
});
chart.render();
2 Comments
Hi,
On X-Axis, I need to display numbers with 2 decimal points….example: 10.00, 20.00 and so on.
Possible?
Atit,
For showing axis label with 2 decimal points you can set valueFormatString to “#.00”.