Sets the Axis Label color. The value of labelFontColor can be a “HTML Color Name” or “hex” code .
Default: “#000000”var chart = new CanvasJS.Chart("container",
{
.
.
axisX:{
labelFontColor: "red",
},
.
.
});
chart.render();
3 Comments
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.