pub enum LegendOption<T> {
Reverse,
Invert,
Horizontal,
Placement(AlignType, AlignType),
Title(T),
MaxRows(u32),
MaxCols(u32),
}Expand description
Legend options
Puts curve samples to the left of the label
Displays legend entries in opposite order
Makes the legend horizontal (default is vertical)
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 of the legend
Specifies the maximum number of rows, when the legend is vertical
Specifies the maximum number of columns, when the legend is horizontal