Skip to main content

euv_chart/series/
enum.rs

1/// Where a stepped line puts its step.
2#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
3pub enum StepPosition {
4    /// The step falls at the beginning of the interval.
5    Start,
6    /// The step falls in the middle of the interval.
7    #[default]
8    Middle,
9    /// The step falls at the end of the interval.
10    End,
11}
12
13/// The shape drawn for a data point.
14#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
15pub enum SymbolShape {
16    /// A circle.
17    #[default]
18    Circle,
19    /// A rectangle.
20    Rect,
21    /// A rounded rectangle.
22    RoundRect,
23    /// A triangle.
24    Triangle,
25    /// A diamond.
26    Diamond,
27    /// A pin.
28    Pin,
29    /// An arrow.
30    Arrow,
31    /// No symbol is drawn.
32    None,
33}