Hi pradeep0830,
In that case you can use
ticksPositioner, which allows you to adjust your ticks programatically. Here is an example where data min and max values are always shown:
https://jsfiddle.net/BlackLabel/b9yv6qet/
The solution is not perfect, because sometimes labels might overlap with each other, but you can try to improve it.
Please also take a look at these functions:
-
setExtremes() which can be used to set min and max axis values (extremes)
-
update(), which updates an axis object with a new set of options.
Let me know if you have any further questions!
Regards!