package chartjs
Class type Chartjs.timeOptionsSource
method displayFormats : timeDisplayFormats Js_of_ocaml.Js.t
Js_of_ocaml.Js.optdef_propSets how different time units are displayed.
If true and the unit is set to 'week', then the first day of the week will be Monday. Otherwise, it will be Sunday.
method max : Time.t Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_propIf defined, this will override the data maximum
method min : Time.t Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_propIf defined, this will override the data minimum
method _parser : Time_parser.t Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef_propCustom parser for dates.
method round : Time_unit.t Js_of_ocaml.Js.t Or_false.t Js_of_ocaml.Js.t
Js_of_ocaml.Js.propIf defined, dates will be rounded to the start of this unit.
The moment js format string to use for the tooltip.
method unit : Time_unit.t Js_of_ocaml.Js.t Or_false.t Js_of_ocaml.Js.t
Js_of_ocaml.Js.propIf defined, will force the unit to be a certain type.
method minUnit : Time_unit.t Js_of_ocaml.Js.t Js_of_ocaml.Js.propThe minimum display format to be used for a time unit.