package chartjs

  1. Overview
  2. Docs

Sets how different time units are displayed.

method isoWeekday : bool Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

If true and the unit is set to 'week', then the first day of the week will be Monday. Otherwise, it will be Sunday.

If defined, this will override the data maximum

If defined, this will override the data minimum

Custom parser for dates.

If defined, dates will be rounded to the start of this unit.

The moment js format string to use for the tooltip.

If defined, will force the unit to be a certain type.

method stepSize : int Js_of_ocaml.Js.prop

The number of units between grid lines.

The minimum display format to be used for a time unit.

OCaml

Innovation. Community. Security.