Skip to content

Force the first and last labels on axis

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

Open in:New tab
Showing exact min/max on value axisshowing-exact-minmax-on-value-axis
Open in:New tab
Showing exact min/max on date axisshowing-exact-minmax-on-date-axis