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

Method disable_legend

src/plot_widget_builder.rs:174–177  ·  view source on GitHub ↗

Disable the legend. By default, when plot contains at least one labeled series, the legend is enabled.

(mut self)

Source from the content-addressed store, hash-verified

172 ///
173 /// By default, when plot contains at least one labeled series, the legend is enabled.
174 pub fn disable_legend(mut self) -> Self {
175 self.disable_legend = true;
176 self
177 }
178
179 /// Set the full interaction controls behavior for the plot.
180 pub fn with_controls(mut self, controls: PlotControls) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected