Struct dioxus_charts::charts::line::LineChartProps
source · pub struct LineChartProps { /* private fields */ }
Expand description
The LineChart
properties struct for the configuration of the line chart.
Implementations§
source§impl LineChartProps
impl LineChartProps
sourcepub fn builder(
) -> LineChartPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder( ) -> LineChartPropsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building LineChartProps
.
On the builder, call .series(...)
, .labels(...)
(optional), .series_labels(...)
(optional), .width(...)
(optional), .height(...)
(optional), .viewbox_width(...)
(optional), .viewbox_height(...)
(optional), .padding_top(...)
(optional), .padding_bottom(...)
(optional), .padding_left(...)
(optional), .padding_right(...)
(optional), .show_grid(...)
(optional), .show_dotted_grid(...)
(optional), .show_grid_ticks(...)
(optional), .show_labels(...)
(optional), .show_dots(...)
(optional), .show_lines(...)
(optional), .show_line_labels(...)
(optional), .line_width(...)
(optional), .dot_size(...)
(optional), .label_interpolation(...)
(optional), .lowest(...)
(optional), .highest(...)
(optional), .max_ticks(...)
(optional), .class_chart_line(...)
(optional), .class_line(...)
(optional), .class_line_path(...)
(optional), .class_line_dot(...)
(optional), .class_line_label(...)
(optional), .class_grid(...)
(optional), .class_grid_line(...)
(optional), .class_grid_label(...)
(optional), .class_grid_labels(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of LineChartProps
.
Trait Implementations§
source§impl Clone for LineChartProps
impl Clone for LineChartProps
source§fn clone(&self) -> LineChartProps
fn clone(&self) -> LineChartProps
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for LineChartProps
impl PartialEq for LineChartProps
source§fn eq(&self, other: &LineChartProps) -> bool
fn eq(&self, other: &LineChartProps) -> bool
self
and other
values to be equal, and is used
by ==
.