pub enum ChartLayoutMode {
Show 41 variants
Single,
TwoHorizontal,
TwoVertical,
Three,
ThreeHorizontal,
ThreeVertical,
ThreeLargeLeft,
ThreeLargeRight,
ThreeLargeTop,
Four,
FourHorizontal,
FourVertical,
FourLargeLeft,
FourLargeRight,
FourLargeTop,
FourLargeBottom,
Five,
FiveHorizontal,
FiveVertical,
FiveLargeLeft,
FiveLargeRight,
FiveLargeTop,
FiveLargeBottom,
Six,
SixHorizontal,
SixVertical,
SixLargeLeft,
SixLargeRight,
SixLargeTop,
SixLargeBottom,
Seven,
Eight,
Nine,
Ten,
Eleven,
Twelve,
Thirteen,
Fourteen,
Fifteen,
Sixteen,
Tabs,
}Expand description
Multi-chart arrangement. Changing presets retains the host’s hidden charts. Charts fill a preset in slot order, row by row from the top; presets with a large chart at the left or right fill column by column from the left.
Variants§
Single
One chart.
TwoHorizontal
Two columns.
TwoVertical
Two rows.
Three
Three charts, with the last spanning the bottom row.
ThreeHorizontal
Three columns.
ThreeVertical
Three rows.
ThreeLargeLeft
One chart in the left half, two stacked in the right half.
ThreeLargeRight
Two charts stacked in the left half, one in the right half.
ThreeLargeTop
One chart in the top half, two side by side in the bottom half; Three is
the reverse.
Four
Two columns and two rows.
FourHorizontal
Four columns.
FourVertical
Four rows.
FourLargeLeft
One chart in the left half, three stacked in the right half.
FourLargeRight
Three charts stacked in the left half, one in the right half.
FourLargeTop
One chart in the top half, three side by side in the bottom half.
FourLargeBottom
Three charts side by side in the top half, one in the bottom half.
Five
Five charts in three columns.
FiveHorizontal
Five columns.
FiveVertical
Five rows.
FiveLargeLeft
One chart in the left half, four stacked in the right half.
FiveLargeRight
Four charts stacked in the left half, one in the right half.
FiveLargeTop
One chart in the top half, four side by side in the bottom half.
FiveLargeBottom
Four charts side by side in the top half, one in the bottom half.
Six
Three columns and two rows.
SixHorizontal
Six columns.
SixVertical
Six rows.
SixLargeLeft
One chart in the left half, five stacked in the right half.
SixLargeRight
Five charts stacked in the left half, one in the right half.
SixLargeTop
One chart in the top half, five side by side in the bottom half.
SixLargeBottom
Five charts side by side in the top half, one in the bottom half.
Seven
Seven charts in four columns.
Eight
Four columns and two rows.
Nine
Three columns and three rows.
Ten
Ten charts in four columns.
Eleven
Eleven charts in four columns.
Twelve
Four columns and three rows.
Thirteen
Thirteen charts in four columns.
Fourteen
Fourteen charts in four columns.
Fifteen
Fifteen charts in four columns.
Sixteen
Four columns and four rows.
Tabs
One tab per supplied chart, up to sixteen.
Implementations§
Source§impl ChartLayoutMode
impl ChartLayoutMode
Sourcepub fn chart_count(&self) -> usize
pub fn chart_count(&self) -> usize
Number of charts in a preset; tabs can show up to sixteen supplied charts.
Trait Implementations§
Source§impl Clone for ChartLayoutMode
impl Clone for ChartLayoutMode
Source§fn clone(&self) -> ChartLayoutMode
fn clone(&self) -> ChartLayoutMode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ChartLayoutMode
Source§impl Debug for ChartLayoutMode
impl Debug for ChartLayoutMode
Source§impl Default for ChartLayoutMode
impl Default for ChartLayoutMode
Source§fn default() -> ChartLayoutMode
fn default() -> ChartLayoutMode
Source§impl<'de> Deserialize<'de> for ChartLayoutMode
impl<'de> Deserialize<'de> for ChartLayoutMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for ChartLayoutMode
impl Display for ChartLayoutMode
impl Eq for ChartLayoutMode
Source§impl Hash for ChartLayoutMode
impl Hash for ChartLayoutMode
Source§impl PartialEq for ChartLayoutMode
impl PartialEq for ChartLayoutMode
Source§impl Serialize for ChartLayoutMode
impl Serialize for ChartLayoutMode
impl StructuralPartialEq for ChartLayoutMode
Auto Trait Implementations§
impl Freeze for ChartLayoutMode
impl RefUnwindSafe for ChartLayoutMode
impl Send for ChartLayoutMode
impl Sync for ChartLayoutMode
impl Unpin for ChartLayoutMode
impl UnsafeUnpin for ChartLayoutMode
impl UnwindSafe for ChartLayoutMode
Blanket Implementations§
impl<T> AsId for T
impl<T> AsIdSalt for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more