minimum: Number

Sets the minimum value of Axis. Values smaller than minimum are clipped. minimum also sets the lower limit while panning chart.


Default: Automatically Calculated based on the data
Example: 100, 350..

Notes
  • If minimum value is not set, it is automatically calculated.
  • While setting minimum, it should be taken care that maximum should be greater than minimum.


var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisY:{
   minimum: 150,
 },
 .
 .
});
chart.render();


Try it Yourself by Editing the Code below.

  Also See:    



In order to provide better support,we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.

Comments 12

  1. i find answer ))

    axisY: {interval: 0.5,
    minimum: 3,
    maximum: 4.5},

    first i maked mistake, by adding this code in data: [ ] , when i do it befor data:[ ], it works 🙂

  2. not working for me. Candle stick chart. Y values are double 0.5 to 1.5. I set
    asixY: {
    interval: 0.1,
    minimum: 0.3,
    maximum: 1.8,
    valueFormatString: “0.0000”
    },
    so it shows asix Y 0 to 2 with interval 0.5

  3. Doesn’t seem to auto calculate the minimum for me, it’s always 0, which means i have a line way at the top (data has a minimum of around 70, and max of 78).

In order to provide better support,we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.