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”, …
  1. var stockChart = new CanvasJS.StockChart("container",
  2. {
  3. .
  4. .
  5. navigator: {
  6. .
  7. .
  8. slider: {
  9. maskColor: "#a0beec"
  10. },
  11. .
  12. .
  13. },
  14. .
  15. .
  16. });
  17. stockChart.render();

Try Editing The Code


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