package chartjs-datalabels

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

The label is centered on the anchor point.

val start : t Js_of_ocaml.Js.t

The label is positioned before the anchor point, following the same direction.

val _end : t Js_of_ocaml.Js.t

The label is positioned after the anchor point, following the same direction.

val right : t Js_of_ocaml.Js.t

The label is positioned to the right of the anchor point (0°).

val bottom : t Js_of_ocaml.Js.t

The label is positioned to the bottom of the anchor point (90°).

val left : t Js_of_ocaml.Js.t

The label is positioned to the left of the anchor point (180°).

The label is positioned to the top of the anchor point (270°).

val degree : float -> t Js_of_ocaml.Js.t

A number representing the clockwise angle (in degree).