pub enum LabelPosition {
BestFit,
Above,
Below,
Center,
Base,
InsideBase,
InsideEnd,
OutsideEnd,
Left,
Right,
OutsideEndPie,
InsideEndPie,
}Expand description
数据标签位置(<c:dLblPos val="..."/>)。
OOXML ST_DLblPos 枚举,控制数据标签相对于数据点的显示位置。 不同图表类型支持的位置子集不同(参见 ECMA-376 第 21.2.2.40 节)。
Variants§
BestFit
最佳位置(由 PowerPoint 自动选择)。适用于大多数图表类型。
Above
数据点上方(柱形/折线/面积图)。
Below
数据点下方(柱形/折线/面积图)。
Center
数据点中心(柱形/饼图)。
Base
基线(柱形图底部)。
InsideBase
数据点内侧(柱形/饼图,标签在柱内)。
InsideEnd
数据点内侧端(柱形图顶部内侧)。
OutsideEnd
数据点外侧端(柱形图顶部外侧)。
Left
左侧(折线图/散点图)。
Right
右侧(折线图/散点图)。
OutsideEndPie
饼图扇区外侧。
InsideEndPie
饼图扇区内侧。
Implementations§
Trait Implementations§
Source§impl Clone for LabelPosition
impl Clone for LabelPosition
Source§fn clone(&self) -> LabelPosition
fn clone(&self) -> LabelPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LabelPosition
Source§impl Debug for LabelPosition
impl Debug for LabelPosition
Source§impl Default for LabelPosition
impl Default for LabelPosition
Source§fn default() -> LabelPosition
fn default() -> LabelPosition
Returns the “default value” for a type. Read more
impl Eq for LabelPosition
Source§impl Hash for LabelPosition
impl Hash for LabelPosition
Source§impl PartialEq for LabelPosition
impl PartialEq for LabelPosition
Source§fn eq(&self, other: &LabelPosition) -> bool
fn eq(&self, other: &LabelPosition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LabelPosition
Auto Trait Implementations§
impl Freeze for LabelPosition
impl RefUnwindSafe for LabelPosition
impl Send for LabelPosition
impl Sync for LabelPosition
impl Unpin for LabelPosition
impl UnsafeUnpin for LabelPosition
impl UnwindSafe for LabelPosition
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
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.