Series
struct · ferroui-livecharts · v0.5.0
struct Series
Members
namekindvaluesvisiblex_axisy_axisstack_groupstack_100_percentpivotfillstrokefill_brushstroke_brushbrush_spacestroke_widthstroke_capstroke_joinstroke_miterdashesdash_offsetopacitygeometry_sizemin_geometry_sizeline_smoothnessenable_null_splittingmax_bar_widthpaddingcorner_radiusignores_bar_positiondata_labelsdata_labels_sizedata_labels_colordata_labels_rotationheat_mapinner_radiusouter_radius_offsetpush_outhover_push_outrelative_inner_radiusrelative_outer_radiusmax_radial_column_widthradial_aligninverted_corner_radiusis_gaugeis_fill_seriesis_relative_to_min_valuepolar_labels_positionpolar_closedpolar_stackeddata_paddingshow_errorerror_paintgeometry_fillgeometry_strokecolor_stopspoint_paddingmin_valuemax_valuenewdefault_data_paddingfrom_valuescolorarea_styleline_stylemarker_styleerror_stylebox_stylestyle
name
name: String
kind
kind: SeriesKind
values
values: Vec<crate::kernel::Coordinate>
visible
visible: bool
x_axis
x_axis: usize
y_axis
y_axis: usize
stack_group
stack_group: u32
stack_100_percent
stack_100_percent: bool
pivot
pivot: f64
fill
fill: Option<ferroui_base::media::Color>
stroke
stroke: Option<ferroui_base::media::Color>
fill_brush
fill_brush: Option<std::rc::Rc<dyn IBrush>>
stroke_brush
stroke_brush: Option<std::rc::Rc<dyn IBrush>>
brush_space
brush_space: crate::paint::BrushSpace
stroke_width
stroke_width: f64
stroke_cap
stroke_cap: ferroui_base::media::PenLineCap
stroke_join
stroke_join: ferroui_base::media::PenLineJoin
stroke_miter
stroke_miter: f64
dashes
dashes: Vec<f64>
dash_offset
dash_offset: f64
opacity
opacity: f64
geometry_size
geometry_size: f64
min_geometry_size
min_geometry_size: f64
line_smoothness
line_smoothness: f64
enable_null_splitting
enable_null_splitting: bool
max_bar_width
max_bar_width: f64
padding
padding: f64
corner_radius
corner_radius: f64
ignores_bar_position
ignores_bar_position: bool
data_labels
data_labels: bool
data_labels_size
data_labels_size: f64
data_labels_color
data_labels_color: Option<ferroui_base::media::Color>
data_labels_rotation
data_labels_rotation: f64
heat_map
heat_map: Vec<ferroui_base::media::Color>
inner_radius
inner_radius: f64
outer_radius_offset
outer_radius_offset: f64
push_out
push_out: f64
hover_push_out
hover_push_out: f64
relative_inner_radius
relative_inner_radius: f64
relative_outer_radius
relative_outer_radius: f64
max_radial_column_width
max_radial_column_width: f64
radial_align
radial_align: RadialAlignment
inverted_corner_radius
inverted_corner_radius: bool
is_gauge
is_gauge: bool
is_fill_series
is_fill_series: bool
is_relative_to_min_value
is_relative_to_min_value: bool
polar_labels_position
polar_labels_position: PolarLabelsPosition
polar_closed
polar_closed: bool
polar_stacked
polar_stacked: bool
Stack polar radii within the selected axes and stack group.
data_padding
data_padding: ferroui_base::Point
Requested axis padding, expressed in nice tick steps for polar radii.
show_error
show_error: bool
Draws the error bars of the points (ShowError) of a series with error bars
(SeriesKind::has_error_bars).
error_paint
error_paint: Option<ferroui_base::media::Color>
The stroke of the error bars (ErrorPaint); None takes the theme's ERROR_PAINT.
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.
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.
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.
point_padding
point_padding: ferroui_base::Thickness
The inset of each cell of a heat series (PointPadding), 4 on every side by default.
min_value
min_value: Option<f64>
The weight bounds of a heat series (MinValue, MaxValue); None takes the extremes of
its weights.
max_value
max_value: Option<f64>
new
fn new(kind: SeriesKind) -> Self
default_data_padding
fn default_data_padding(kind: SeriesKind) -> Point
Constructor defaults from each upstream series family.
from_values
fn from_values(kind: SeriesKind, values: impl IntoIterator<Item = f64>) -> Self
color
fn color(self: &Self, index: usize) -> Color
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.
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).
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.
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.
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.
style
fn style(self: &Self, index: usize, filled: bool) -> PaintStyle
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.