dataviz\figure\utilities/
linetype.rs

1
2
3
4
5
6
7
8
9
10
11
12
/// Represents the style of a line in a graph or chart.
#[derive(Clone)]
pub enum LineType {
    /// A solid line with no gaps.
    Solid,
    /// A dashed line with configurable dash length.
    /// - The `u32` value specifies the length of each dash in pixels.
    Dashed(u32),
    /// A dotted line with configurable dot spacing.
    /// - The `u32` value specifies the spacing between dots in pixels.
    Dotted(u32),
}