Expand description
Core data model: basic types, columnar (SoA) input formats and column storage.
Structs§
- BandId
- Identifier of a band (fill between two series) in a chart.
- BarUpdate
- A real-time update for
Chart::update_last. - Change
Log - Generation counter plus a fixed-size log of changed logical index spans.
- DeqColumn
- A contiguous column with free space at both ends.
- Drawing
Id - Identifier of a drawing.
- IdxSpan
- Half-open span of logical indices,
start..end. - Indicator
Id - Identifier of an indicator in a chart.
- Layer
Plugin Id - Identifier of a layer plugin in a chart.
- Ohlc
Columns - OHLC(V) series in columnar layout — the input format of
set_dataand friends. - Ohlc
Level View - Read-only view of one level of an OHLC series.
- PaneId
- Identifier of a pane in a chart.
- Price
Line Id - Identifier of a price line in a chart.
- Series
Id - Identifier of a series in a chart.
- Time
Index - Sorted union of the timestamps of all series, with stable logical indices.
- Value
Columns - Single-value series in columnar layout (line, area, histogram).
Enums§
- Column
- A read-only column of one LOD level:
f64at level 0,f32above. - Data
Change - A data change, as seen by downstream consumers (LOD, indicators).
- Data
Delta - What changed in a series since a given generation.
- Series
Mapping - How the points of one series map to logical indices of the
TimeIndex. - Validation
Mode - How bars that violate
low <= min(open, close) <= max(open, close) <= highare handled. The default is the same in debug and release builds.
Constants§
- ANCHOR
- Fixed logical index origin for LOD buckets and GPU chunks. Logical indices must stay above it.
- MIN_
LOD_ LEVEL - Lowest LOD level that is built (level 1 is skipped).
Type Aliases§
- Logical
Index - Logical index: position on the global time index. May be negative or beyond the data (empty space). Fractional values address positions between bars.
- Timestamp
- UTC timestamp in milliseconds. The engine does not handle time zones internally; time zones only affect label formatting.