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

Enum SeriesError

src/series.rs:224–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222/// Errors that can occur when constructing or adding a series.
223#[derive(Debug, Clone, PartialEq)]
224pub enum SeriesError {
225 /// No points provided to the series.
226 Empty,
227 /// Series has neither markers nor lines enabled.
228 NoMarkersAndNoLines,
229 /// A series with the given ID does not exist.
230 NotFound(ShapeId),
231 /// Axis limits are not properly set (min >= max).
232 InvalidAxisLimits,
233 /// Invalid AxisScale configuration (e.g. log scale with non-positive base).
234 InvalidAxisScale,
235 /// Per-point colors length does not match positions length.
236 InvalidPointColorsLength,
237 /// Fill begin/end must reference different shapes.
238 InvalidFillEndpoints,
239 /// Fill endpoint references a shape that does not exist in the widget.
240 FillEndpointNotFound(ShapeId),
241}
242
243/// Unique identifier for a shape in the plot.
244///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected