maskColor: String

Sets the color for masked region of Slider. Values of maskColor can be specified in “HTML Color Name”, “hex code” or “rgba values”.


Default: “#d9e8f9”
Examples: “blue”, “#a5b3dc”, …

var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 navigator: {
   .
   .
   slider: {
     maskColor: "#a0beec"
   },
   .
   .
 },
 .
 .
});
stockChart.render();



Try it Yourself by Editing the Code below.



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