Force the first and last labels on axis

This is a demo tutorial. While there is no step-by-step commentary available (yet), the live demo below is fully functional. Feel free to open it for full source code.

These two demos show how you can use events, axis ranges, and some setting combination to automatically force showing first ant last labels on ValueAxisand DateAxis, even if they fall on non-equal increments, and maintain them across zooms.

Chart with two ValueAxis

See the Pen Showing exact min/max on value axis by amCharts team (@amcharts) on CodePen.24419

Chart with a ValueAxis and a DateAxis

See the Pen Showing exact min/max on date axis by amCharts team (@amcharts) on CodePen.24419