package chartjs

  1. Overview
  2. Docs
type t
val default : t Js_of_ocaml.Js.t

Default algorithm uses a custom weighted cubic interpolation, which produces pleasant curves for all types of datasets.

val monotone : t Js_of_ocaml.Js.t

Monotone algorithm is more suited to y = f(x) datasets : it preserves monotonicity (or piecewise monotonicity) of the dataset being interpolated, and ensures local extremums (if any) stay at input data points.

val of_string : string -> t Js_of_ocaml.Js.t
OCaml

Innovation. Community. Security.