Skip to main content

Module data_config

Module data_config 

Source
Expand description

Declarative series configuration types.

Mapping layer between chart layout (config::Config) and raw data (data::DataCell). Each SeriesConfig says which columns are X/Y/error and which render type / style to use.

Structs§

ContourConfig
Contour lines over a field.
ContourLabelAnchor
One label placement, in data space.
ContourLabelConfig
Inline level labels on contour lines.
DataBarBinStyleConfig
Partial appearance override for one histogram bin.
DataBarStyleConfig
Bar appearance for DataRenderType::Histogram.
DataBarStyleOverride
One sparse histogram-bin style override.
DataConfig
DataErrorBarPointStyleConfig
DataErrorBarPointStyleOverride
DataErrorBarStyleConfig
DataLineStyleConfig
DataScatterPointStyleConfig
DataScatterPointStyleOverride
DataScatterStyleConfig
FieldFillConfig
How a field’s cells are painted.
MatrixRef
A 2-D grid declared as a bundle of column ids — and nothing more.
SeriesConfig
One series — which columns to draw, with which render type and style.

Enums§

BarOrientation
Bar direction, and with it the roles of x_column / y_column.
DataRenderType
Series render type. Each variant maps to one independent draw path.
ErrorRef
Errorbar column reference: either a single column read as ±σ, or two separate columns for the lower / upper bound.
FillMode
Continuous ramp, or quantized into the contour levels’ bands.
GridLayout
Whether coordinate columns give cell edges or cell centres.
MatrixOrientation
Which axis a constituent column runs along.
ScatterShape
Shading
Whether a cell is one colour or interpolated across its corners.

Constants§

MAX_CONTOUR_LEVELS
Maximum number of contour levels accepted by one series.