package matrix
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=ab48bc02082f9c1deea0769a13c2935df529536630745ec3a3d718f59656109b
sha512=c0f3c490e13ca60217d9d59c9bfdf3ada12e1565f04fe2a623e7c94298d519393eabe404e2317726712bf5e7fa860780a07494e77994ac05032e71f535c56910
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..