file: DateAxis.aus

class: DateAxis

[21:7] extends: Axis

DateAxis wraps extfx.scene.chart.DateAxis (Christian Schudt's MIT-licensed date axis, vendored under src/extfx), a time axis for JavaFX XY charts that plots real dates instead of category label strings. It automatically chooses the tick granularity, from decades down to milliseconds, and a matching label format based on the visible range and the axis width, so a time series does not need pre-formatted string categories. Bounds are Aussom Date objects, the same type DatePicker uses: setters accept an Aussom Date and getters return an Aussom Date. Extends Axis, so all the shared axis methods (setLabel, setAnimated, setAutoRanging, tick styling, and so on) are inherited.

Methods