package chartjs

  1. Overview
  2. Docs

Module Chartjs.IndexableSource

Sourcetype 'a t

Indexable options also accept an array in which each item corresponds to the element at the same index. Note that this method requires to provide as many items as data, so, in most cases, using a function is more appropriated if supported.

Sourceval of_single : 'a -> 'a t Js_of_ocaml.Js.t
Sourceval of_array : 'a array -> 'a t Js_of_ocaml.Js.t
Sourceval of_list : 'a list -> 'a t Js_of_ocaml.Js.t
Sourceval cast_single : 'a t Js_of_ocaml.Js.t -> 'a Js_of_ocaml.Js.opt
OCaml

Innovation. Community. Security.