package matrix
Build not yet checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=a92cbbcbe016fb19fb0a749222da0e459a9567aef3f4c7340d9bd6b71c53ed6f
sha512=6a7ab054605538bb31a2b73a1a6d093981a2704c9f0af5852221c05735290d74aca7c7282298c4d0f91e86a800e2ccd94b4918af883cd963449c758eb6b272b3
doc/matrix.charts/Matrix_charts/Theme/index.html
Module Matrix_charts.ThemeSource
type glyphs = {box : Matrix_grid.Border.t;(*Axis lines, ticks, the frame, solid gridlines, crosshairs, tip borders and steps.
*)dashed : string * string;(*Dashed lines, horizontal and vertical.
*)dotted : string * string;(*Dotted lines, horizontal and vertical.
*)diagonals : string * string;(*Lines at
*)`Cellrising and falling.point : string;(*A point at
*)`Cell.marker : string;(*Markers and the
*)`Dotarrow head.shades : string array;(*Shades from lightest to fullest. The last fills bars.
*)blocks : bool;(*Whether the terminal draws block elements, braille patterns, sextants and octants. Without them every mark draws whole cells.
*)
}The type for the glyphs a chart draws.
type t = {palette : Ansi.Color.t list;(*Colors of marks without a color and of categories, cycled.
*)colors : Ansi.Color.t list;(*Color scales' colors, low to high, interpolated in Oklab.
*)background : Ansi.Color.t option;(*Fill of the region.
*)Noneleaves the cells under the chart.axis : Ansi.Style.t;(*Axis lines, ticks and rules.
*)label : Ansi.Style.t;(*Labels, axis titles, legends and text.
*)title : Ansi.Style.t;(*The figure's title.
*)grid : Ansi.Style.t;(*Gridlines.
*)minor_grid : Ansi.Style.t;(*Minor gridlines.
*)grid_dash : dash;(*The pattern of gridlines.
*)tip : Ansi.Style.t;(*Tips' text and fill.
*)tip_border : Ansi.Style.t option;(*Tips' border,
*)Nonefor none.tip_padding : int;(*Columns between a tip's border and its text.
*)crosshair : Ansi.Style.t;(*Crosshairs.
*)crosshair_dash : dash;(*The pattern of crosshairs.
*)marker : Ansi.Style.t;(*Markers.
*)glyphs : glyphs;(*Glyphs.
*)dots : dots;(*The default resolution of strokes and dots.
*)tick_length : int;(*Cells a tick reaches beyond its axis line. At
*)0it is a tee in the line.label_padding : int;(*Blank columns between a vertical axis's ticks and its labels. A horizontal axis's labels are on the row of cells after its ticks.
*)aspect : float;(*The height of a cell over its width.
*)
}The type for themes.
dark is the theme for a dark background. Its palette is cyan, magenta, yellow, green, blue, red and three blues, and its color scales run through viridis. Its guides are gray, its gridlines dotted, its dots braille, its ticks tees with labels one column away, its background None and its aspect 2..