package archimedes
Tics position and labels.
type labels =
| No_label
(*
*)No_label
just draw a vertical bar without any text| Text of (string * float) array
(*Not yet implemented
*)| Number of int
(*
*)Number n
draw number labels usingn
digits| Expnumber of float
(*Not yet implemented
*)| Expnumber_named of float * string
(*Not yet implemented
*)| Custom of float -> string
(*
*)Custom f
for labeling with a functionf
type t =
| Fixed of labels * float list
(*
*)Archimedes.Tics.Fixed (label, tics)
draws major tics at values specified by thetics
list and labels them usinglabel
.| Fixed_norm of labels * float list
(*Not Yet implemented
*)| Equidistants of labels * float * float * int
(*
*)Archimedes.Tics.Equidistants (label, start, step, n)
drawsMajor Tics
fromstart
equidistants ofstep
along the axe and withn
Minor Tics
between each of them and the labels defined withlabel
| Auto of labels
(*
*)Archimedes.Tics.Auto label
drawsMajor Tics
to fit the axe and thelabel
automaticaly
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>