fontColorOnHover: String

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


Default: “black”
Example: “blue”, “#a0beec”, …

var chart= new CanvasJS.Chart("container",
{
 .
 .
 toolbar: {
     fontColorOnHover: "#eccaa0",
     .
     .
 },
 .
 . 
});
chart.render();


Try it Yourself by Editing the Code below.



In order to provide better support, we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.