FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CartesianSeries

    struct · ferroui-controls-charts · v0.5.0

    struct CartesianSeries
    

    Shared property and data contract for line, area, and bar series.

    Series are chart-owned, but their samples and immutable override descriptors are shareable. Axis references use validated direct properties because their validity depends on chart ownership as well as the axis' concrete type.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<CartesianSeries>
    

    Returns a strong reference to this object.

    Source

    title_property

    fn title_property() -> &'static StyledProperty<String>
    

    Source

    is_visible_property

    fn is_visible_property() -> &'static StyledProperty<bool>
    

    Source

    x_values_property

    fn x_values_property() -> &'static StyledProperty<Option<Ref<Samples>>>
    

    Source

    y_values_property

    fn y_values_property() -> &'static StyledProperty<Option<Ref<Samples>>>
    

    Source

    stroke_property

    fn stroke_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
    

    Source

    stroke_thickness_property

    fn stroke_thickness_property() -> &'static StyledProperty<f64>
    

    Source

    stroke_dash_style_property

    fn stroke_dash_style_property() -> &'static StyledProperty<StrokeDashStyle>
    

    Source

    show_data_labels_property

    fn show_data_labels_property() -> &'static StyledProperty<bool>
    

    Source

    show_data_markers_property

    fn show_data_markers_property() -> &'static StyledProperty<bool>
    

    Source

    marker_shape_property

    fn marker_shape_property() -> &'static StyledProperty<MarkerShape>
    

    Source

    data_label_brush_property

    fn data_label_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
    

    Source

    data_marker_brush_property

    fn data_marker_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
    

    Source

    x_axis_property

    fn x_axis_property() -> &'static DirectProperty<CartesianSeries, Option<Ref<Axis>>>
    

    Native direct-property notification for the source API's plain XAxis property.

    Source

    y_axis_property

    fn y_axis_property() -> &'static DirectProperty<CartesianSeries, Option<Ref<Axis>>>
    

    Native direct-property notification for the source API's plain YAxis property.

    Source

    construct

    fn construct() -> Self
    

    Creates base data for a concrete series class.

    Source

    title

    fn title(self: &Self) -> String
    

    Source

    set_title

    fn set_title(self: &Self, value: impl Into<String>)
    

    Source

    set_optional_title

    fn set_optional_title(self: &Self, value: Option<&str>)
    

    Source

    is_visible

    fn is_visible(self: &Self) -> bool
    

    Source

    set_is_visible

    fn set_is_visible(self: &Self, value: bool)
    

    Source

    x_values

    fn x_values(self: &Self) -> Option<Ref<Samples>>
    

    Source

    set_x_values

    fn set_x_values(self: &Self, value: Option<Ref<Samples>>)
    

    Source

    y_values

    fn y_values(self: &Self) -> Option<Ref<Samples>>
    

    Source

    set_y_values

    fn set_y_values(self: &Self, value: Option<Ref<Samples>>)
    

    Source

    stroke

    fn stroke(self: &Self) -> Option<Rc<dyn IBrush>>
    

    Source

    set_stroke

    fn set_stroke(self: &Self, value: Option<Rc<dyn IBrush>>)
    

    Source

    stroke_thickness

    fn stroke_thickness(self: &Self) -> f64
    

    Source

    set_stroke_thickness

    fn set_stroke_thickness(self: &Self, value: f64)
    

    Source

    stroke_dash_style

    fn stroke_dash_style(self: &Self) -> StrokeDashStyle
    

    Source

    set_stroke_dash_style

    fn set_stroke_dash_style(self: &Self, value: StrokeDashStyle)
    

    Source

    show_data_labels

    fn show_data_labels(self: &Self) -> bool
    

    Source

    set_show_data_labels

    fn set_show_data_labels(self: &Self, value: bool)
    

    Source

    show_data_markers

    fn show_data_markers(self: &Self) -> bool
    

    Source

    set_show_data_markers

    fn set_show_data_markers(self: &Self, value: bool)
    

    Source

    marker_shape

    fn marker_shape(self: &Self) -> MarkerShape
    

    Source

    set_marker_shape

    fn set_marker_shape(self: &Self, value: MarkerShape)
    

    Source

    data_label_brush

    fn data_label_brush(self: &Self) -> Option<Rc<dyn IBrush>>
    

    Source

    set_data_label_brush

    fn set_data_label_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
    

    Source

    data_marker_brush

    fn data_marker_brush(self: &Self) -> Option<Rc<dyn IBrush>>
    

    Source

    set_data_marker_brush

    fn set_data_marker_brush(self: &Self, value: Option<Rc<dyn IBrush>>)
    

    Source

    x_axis

    fn x_axis(self: &Self) -> Option<Ref<Axis>>
    

    Source

    y_axis

    fn y_axis(self: &Self) -> Option<Ref<Axis>>
    

    Source

    set_x_axis

    fn set_x_axis(self: &Self, value: Option<Ref<Axis>>) -> Result<(), ChartError>
    

    Set the category/time data axis, preserving the old value on failure.

    Source

    set_y_axis

    fn set_y_axis(self: &Self, value: Option<Ref<Axis>>) -> Result<(), ChartError>
    

    Set the numeric value axis, preserving the old value on failure.

    Source

    data_label_overrides

    fn data_label_overrides(self: &Self) -> FerroDictionary<u32, Rc<DataLabelOverride>>
    

    Per-source-index immutable label overrides; clones share map identity.

    Source

    data_marker_overrides

    fn data_marker_overrides(self: &Self) -> FerroDictionary<u32, Rc<DataMarkerOverride>>
    

    Per-source-index immutable marker overrides; clones share map identity.

    Source

    effective_stroke_thickness

    fn effective_stroke_thickness(self: &Self) -> f64
    

    An invalid public thickness is retained, but never passed to a renderer.

    Source

    Trait implementations

    Availability

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