minimum: Number/Date/Timestamp

Sets the minimum value of StockChart Slider.


Default: Defaults to minimum value on Navigator’s AxisX.
Examples: new Date(2018, 05, 24), 250, …

Note
  • If minimum value is not set, it’s automatically calculated based on data passed to the navigator.
  • While setting minimum, it should be taken care that minimum should be less than maximum.
  • minimum supports dateTime values in the form of Date object or timestamp.
  • minimum has higher precedence over startValue of inputFields and selectedRangeButtonIndex of rangeSelector.

var stockChart = new CanvasJS.StockChart("container",
{
 .
 .
 navigator: {
   .
   .
   slider: {
     minimum: new Date(2019, 01, 01)
   },
   .
   .
 },
 .
 . 
});
stockChart.render();



Try it Yourself by Editing the Code below.




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