Skip to main content

ChartSeries

Type Alias ChartSeries 

Source
pub type ChartSeries = ChartChannel;
Expand description

Backward-compatible type alias. New code should use ChartChannel directly.

Aliased Type§

pub struct ChartSeries {
    pub name: String,
    pub label: String,
    pub values: Vec<f64>,
    pub color: Option<Color>,
}

Fields§

§name: String

Role name — set by builder method, never by user (e.g. “x”, “y”, “open”)

§label: String

Display label

§values: Vec<f64>

Extracted numeric data

§color: Option<Color>