fontColor: String

Sets the font color of text within chart toolbar. Values of fontColor can be specified in “HTML Color Name”, “hex code” or “rgba values”.

Default: “black”
Example: “blue”, “#a0beec”, …
var chart= new CanvasJS.Chart("container",
{
 .
 .
 toolbar: {
     fontColor: "#eccaa0",
     .
     .
 },
 .
 . 
});
chart.render();

Try Editing The Code


If you have any questions, please feel free to ask in our forums.Ask Question