Sets the font color of Legend Text . The value of fontColor can be a “HTML Color Name” or “hex” code .
Default: “#333333”var chart = new CanvasJS.Chart("container",
{
.
.
legend : {
fontColor: "red",
},
.
.
});
chart.render();
Also See: