Enum gnuplot::LegendOption [] [src]

pub enum LegendOption<'l> {
    Reverse,
    Invert,
    Horizontal,
    Placement(AlignTypeAlignType),
    Title(&'l str),
    MaxRows(u32),
    MaxCols(u32),
}

Legend options

Variants

Reverse

Puts curve samples to the left of the label

Invert

Displays legend entries in opposite order

Horizontal

Makes the legend horizontal (default is vertical)

Placement(AlignTypeAlignType)

Specifies the location of the legend. The first argument specifies the horizontal placement with respect to its position, and the second argument specifies the vertical placement

Title(&'l str)

Title of the legend

MaxRows(u32)

Specifies the maximum number of rows, when the legend is vertical

MaxCols(u32)

Specifies the maximum number of columns, when the legend is horizontal

Trait Implementations

impl<'l> Clone for LegendOption<'l>
[src]

fn clone(&self) -> LegendOption<'l>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<'l> Copy for LegendOption<'l>
[src]