pub struct Legend {
pub position: Option<LegendPosition>,
pub overlay: Option<bool>,
pub shape_properties: Option<ShapeProperties>,
}Expand description
The chart’s legend (<c:legend>, CT_Legend).
Not modeled: <c:legendEntry> (per-entry delete/reformat overrides), <c:layout> (manual
legend positioning), <c:txPr> — see Title’s doc comment for why txPr is deferred
everywhere in this crate.
Fields§
§position: Option<LegendPosition>§overlay: Option<bool>§shape_properties: Option<ShapeProperties>Implementations§
Source§impl Legend
impl Legend
pub fn new() -> Legend
pub fn with_position(self, position: LegendPosition) -> Legend
pub fn with_overlay(self, overlay: bool) -> Legend
pub fn with_shape_properties(self, properties: ShapeProperties) -> Legend
Trait Implementations§
impl StructuralPartialEq for Legend
Auto Trait Implementations§
impl Freeze for Legend
impl RefUnwindSafe for Legend
impl Send for Legend
impl Sync for Legend
impl Unpin for Legend
impl UnsafeUnpin for Legend
impl UnwindSafe for Legend
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