Class type Chartjs_colorschemes.colorschemes

method fillAlpha : float Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

The transparency value for the line fill color. Must be a number between 0.0 (fully transparent) and 1.0 (no transparency).

method scheme : Scheme.t Js_of_ocaml.Js.t Chartjs.Indexable.t Js_of_ocaml.Js.t Js_of_ocaml.Js.prop

Color scheme name. It also accepts an array of color strings, which is primarily for ES modules.

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

If set to true, the order of the colors in the selected scheme is reversed.

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

If set to true, the specified color scheme will override the existing color options. If false, it is only applied when no color setting exists.

method custom : (Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array Js_of_ocaml.Js.t -> Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array Js_of_ocaml.Js.t) Js_of_ocaml.Js.callback Js_of_ocaml.Js.optdef Js_of_ocaml.Js.prop

A function that takes a copy of the color string array for scheme in order to extend the predefined scheme colors.