MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / PlotWidgetBuilder

Class PlotWidgetBuilder

src/plot_widget_builder.rs:32–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30/// ```
31#[derive(Default)]
32pub struct PlotWidgetBuilder {
33 x_label: Option<String>,
34 y_label: Option<String>,
35 autoscale_on_updates: Option<bool>,
36 hover_radius_px: Option<f32>,
37 highlight_on_hover: Option<bool>,
38 pick_highlight_provider: Option<HighlightPointProvider>,
39 hover_highlight_provider: Option<HighlightPointProvider>,
40 cursor_overlay: Option<bool>,
41 cursor_provider: Option<CursorProvider>,
42 crosshairs: Option<bool>,
43 render_strategy: Option<PlotRenderStrategy>,
44 controls: Option<PlotControls>,
45 controls_help: Option<bool>,
46 disable_legend: bool,
47 x_lim: Option<(f64, f64)>,
48 y_lim: Option<(f64, f64)>,
49 x_axis_scale: Option<AxisScale>,
50 y_axis_scale: Option<AxisScale>,
51 x_axis_link: Option<AxisLink>,
52 y_axis_link: Option<AxisLink>,
53 x_tick_formatter: Option<TickFormatter>,
54 y_tick_formatter: Option<TickFormatter>,
55 x_tick_producer: Option<TickProducer>,
56 y_tick_producer: Option<TickProducer>,
57 enable_x_tick_labels: Option<bool>,
58 enable_y_tick_labels: Option<bool>,
59 tick_label_size: Option<f32>,
60 axis_label_size: Option<f32>,
61 data_aspect: Option<f64>,
62 style: Option<StyleFn>,
63 series: Vec<Series>,
64 fills: Vec<Fill>,
65 vlines: Vec<VLine>,
66 hlines: Vec<HLine>,
67}
68
69impl PlotWidgetBuilder {
70 /// Create a new PlotWidgetBuilder.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected