backgroundColor: String

Sets the background color of Navigator in StockChart. Values of backgroundColor can be specified in “HTML Color Name”, “hex code” or “rgba values”


Default: null
Examples: “blue”, “#0000FF”, “rgb(0,0,255)”, …


var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 navigator: {
   backgroundColor: "blue"
 },
 .
 . 
});
stockChart.render();



Try it Yourself by Editing the Code below.




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