Sets the background color of Navigator in StockChart. Values of backgroundColor can be specified in “HTML Color Name”, “hex code” or “rgba values”
Default: “#FFFFFF”
- var stockChart = new CanvasJS.StockChart("container",
- {
- .
- .
- navigator: {
- backgroundColor: "blue"
- },
- .
- .
- });
- stockChart.render();
Also See: