Enum gnuplot::LegendOption
[−]
[src]
pub enum LegendOption<'l> {
Reverse,
Invert,
Horizontal,
Placement(AlignType, AlignType),
Title(&'l str),
MaxRows(u32),
MaxCols(u32),
}Legend options
Variants
ReversePuts curve samples to the left of the label
InvertDisplays legend entries in opposite order
HorizontalMakes the legend horizontal (default is vertical)
Placement(AlignType, AlignType)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