pub struct SeriesLayout {
pub index: usize,
pub kind: SeriesType,
pub name: String,
pub grid_index: usize,
pub points: Vec<SeriesPoint>,
pub stack: Option<String>,
pub stack_index: usize,
pub stack_size: usize,
pub plot_rect: BBox,
pub band_width: f64,
}Expand description
The layout of one series.
Fields§
§index: usizeThe index of the series in the option.
kind: SeriesTypeThe kind of the series.
name: StringThe name of the series.
grid_index: usizeThe index of the grid the series is drawn in.
points: Vec<SeriesPoint>The points of the series, in pixel space.
stack: Option<String>The stack the series is stacked in, if any.
stack_index: usizeThe index of the stack the series belongs to, within its group.
stack_size: usizeThe number of series stacked together with this one.
plot_rect: BBoxThe plot area the chart’s non-cartesian series are drawn in.
band_width: f64The width of one category band, in pixels.
Zero for a series whose x-axis is not ordinal.
Trait Implementations§
Source§impl Clone for SeriesLayout
impl Clone for SeriesLayout
Source§impl Debug for SeriesLayout
impl Debug for SeriesLayout
Source§impl PartialEq for SeriesLayout
impl PartialEq for SeriesLayout
impl StructuralPartialEq for SeriesLayout
Auto Trait Implementations§
impl Freeze for SeriesLayout
impl RefUnwindSafe for SeriesLayout
impl Send for SeriesLayout
impl Sync for SeriesLayout
impl Unpin for SeriesLayout
impl UnsafeUnpin for SeriesLayout
impl UnwindSafe for SeriesLayout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more