package chartjs
Module Chartjs.IndexableSource
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.
Source
val 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