Class type Chartjs.timeAxis
inherit cartesianAxis
method ticks : timeTicks Js_of_ocaml.Js.t Js_of_ocaml.Js.prop
method time : timeOptions Js_of_ocaml.Js.t Js_of_ocaml.Js.prop
method distribution : Time_distribution.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop
The distribution property controls the data distribution along the scale:
linear
: data are spread according to their time (distances can vary)series
: data are spread at the same distance from each other
method bounds : Time_bounds.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop
The bounds property controls the scale boundary strategy (bypassed by
min
/max
time options).data
: makes sure data are fully visible, labels outside are removedticks
: makes sure ticks are fully visible, data outside are truncated