FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Series

    struct · ferroui-livecharts · v0.5.0

    struct Series
    

    View source

    Members

    name

    name: String
    

    Source

    kind

    kind: SeriesKind
    

    Source

    values

    values: Vec<crate::kernel::Coordinate>
    

    Source

    visible

    visible: bool
    

    Source

    x_axis

    x_axis: usize
    

    Source

    y_axis

    y_axis: usize
    

    Source

    stack_group

    stack_group: u32
    

    Source

    stack_100_percent

    stack_100_percent: bool
    

    Source

    pivot

    pivot: f64
    

    Source

    fill

    fill: Option<ferroui_base::media::Color>
    

    Source

    stroke

    stroke: Option<ferroui_base::media::Color>
    

    Source

    fill_brush

    fill_brush: Option<std::rc::Rc<dyn IBrush>>
    

    Source

    stroke_brush

    stroke_brush: Option<std::rc::Rc<dyn IBrush>>
    

    Source

    brush_space

    brush_space: crate::paint::BrushSpace
    

    Source

    stroke_width

    stroke_width: f64
    

    Source

    stroke_cap

    stroke_cap: ferroui_base::media::PenLineCap
    

    Source

    stroke_join

    stroke_join: ferroui_base::media::PenLineJoin
    

    Source

    stroke_miter

    stroke_miter: f64
    

    Source

    dashes

    dashes: Vec<f64>
    

    Source

    dash_offset

    dash_offset: f64
    

    Source

    opacity

    opacity: f64
    

    Source

    geometry_size

    geometry_size: f64
    

    Source

    min_geometry_size

    min_geometry_size: f64
    

    Source

    line_smoothness

    line_smoothness: f64
    

    Source

    enable_null_splitting

    enable_null_splitting: bool
    

    Source

    max_bar_width

    max_bar_width: f64
    

    Source

    padding

    padding: f64
    

    Source

    corner_radius

    corner_radius: f64
    

    Source

    ignores_bar_position

    ignores_bar_position: bool
    

    Source

    data_labels

    data_labels: bool
    

    Source

    data_labels_size

    data_labels_size: f64
    

    Source

    data_labels_color

    data_labels_color: Option<ferroui_base::media::Color>
    

    Source

    data_labels_rotation

    data_labels_rotation: f64
    

    Source

    heat_map

    heat_map: Vec<ferroui_base::media::Color>
    

    Source

    inner_radius

    inner_radius: f64
    

    Source

    outer_radius_offset

    outer_radius_offset: f64
    

    Source

    push_out

    push_out: f64
    

    Source

    hover_push_out

    hover_push_out: f64
    

    Source

    relative_inner_radius

    relative_inner_radius: f64
    

    Source

    relative_outer_radius

    relative_outer_radius: f64
    

    Source

    max_radial_column_width

    max_radial_column_width: f64
    

    Source

    radial_align

    radial_align: RadialAlignment
    

    Source

    inverted_corner_radius

    inverted_corner_radius: bool
    

    Source

    is_gauge

    is_gauge: bool
    

    Source

    is_fill_series

    is_fill_series: bool
    

    Source

    is_relative_to_min_value

    is_relative_to_min_value: bool
    

    Source

    polar_labels_position

    polar_labels_position: PolarLabelsPosition
    

    Source

    polar_closed

    polar_closed: bool
    

    Source

    polar_stacked

    polar_stacked: bool
    

    Stack polar radii within the selected axes and stack group.

    Source

    data_padding

    data_padding: ferroui_base::Point
    

    Requested axis padding, expressed in nice tick steps for polar radii.

    Source

    show_error

    show_error: bool
    

    Draws the error bars of the points (ShowError) of a series with error bars (SeriesKind::has_error_bars).

    Source

    error_paint

    error_paint: Option<ferroui_base::media::Color>
    

    The stroke of the error bars (ErrorPaint); None takes the theme's ERROR_PAINT.

    Source

    geometry_fill

    geometry_fill: Option<ferroui_base::media::Color>
    

    The fill of the markers of a line or polar line series (GeometryFill); None takes the fill of the series.

    Source

    geometry_stroke

    geometry_stroke: Option<ferroui_base::media::Color>
    

    The stroke of the markers of a line or polar line series (GeometryStroke); None takes the stroke of the series.

    Source

    color_stops

    color_stops: Option<Vec<f64>>
    

    The offsets of the colours of the heat map of a heat series (ColorStops); None spreads them evenly from 0 to 1.

    Source

    point_padding

    point_padding: ferroui_base::Thickness
    

    The inset of each cell of a heat series (PointPadding), 4 on every side by default.

    Source

    min_value

    min_value: Option<f64>
    

    The weight bounds of a heat series (MinValue, MaxValue); None takes the extremes of its weights.

    Source

    max_value

    max_value: Option<f64>
    

    Source

    new

    fn new(kind: SeriesKind) -> Self
    

    Source

    default_data_padding

    fn default_data_padding(kind: SeriesKind) -> Point
    

    Constructor defaults from each upstream series family.

    Source

    from_values

    fn from_values(kind: SeriesKind, values: impl IntoIterator<Item = f64>) -> Self
    

    Source

    color

    fn color(self: &Self, index: usize) -> Color
    

    Source

    area_style

    fn area_style(self: &Self, index: usize) -> Option<PaintStyle>
    

    The fill of the area of a line-family series, or None when it has no area: an explicitly transparent fill is the source's Fill = null. Without a fill of its own the series takes the source theme's: its colour at alpha 50 under a line, step or range line (HasRuleForLineSeries), its full colour for a stacked area.

    Source

    line_style

    fn line_style(self: &Self, index: usize) -> Option<PaintStyle>
    

    The stroke of a line-family series, or None for a stacked area without a stroke of its own (the source theme removes it).

    Source

    marker_style

    fn marker_style(self: &Self, index: usize) -> PaintStyle
    

    The paint of a marker of a line or polar line series: the series paint, with its GeometryFill and GeometryStroke when they are set.

    Source

    error_style

    fn error_style(self: &Self) -> PaintStyle
    

    The stroke of the error bars (ErrorPaint, the theme's dark grey by default) at the thickness of a source paint, 1.

    Source

    box_style

    fn box_style(self: &Self, index: usize) -> PaintStyle
    

    The paint of a box: its fill (the series colour by default) under a dark outline, the theme's Stroke of a box series.

    Source

    style

    fn style(self: &Self, index: usize, filled: bool) -> PaintStyle
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Default

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.