Module Chartjs.Indexable
type 'a tIndexable 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.
val of_single : 'a -> 'a t Js_of_ocaml.Js.tval of_js_array : 'a Js_of_ocaml.Js.js_array Js_of_ocaml.Js.t -> 'a t Js_of_ocaml.Js.tval of_array : 'a array -> 'a t Js_of_ocaml.Js.tval of_list : 'a list -> 'a t Js_of_ocaml.Js.tval cast_single : 'a t Js_of_ocaml.Js.t -> 'a Js_of_ocaml.Js.optval cast_js_array : 'a t Js_of_ocaml.Js.t -> 'a Js_of_ocaml.Js.js_array Js_of_ocaml.Js.t Js_of_ocaml.Js.opt