Sets the font color of Chart Title. The value of fontColor can be a “HTML Color Name” or “hex” code .
Default: Depends on Selected Theme
- var chart = new CanvasJS.Chart("container",
- {
- .
- .
- title:{
- fontColor: "red",
- },
- .
- .
- });
- chart.render();
Also See: