pub struct TreemapOptions {
pub layout: Option<TreemapLayout>,
pub left: Option<f64>,
pub right: Option<f64>,
pub top: Option<f64>,
pub bottom: Option<f64>,
pub roam: Option<bool>,
pub node_click: Option<String>,
pub label: Option<LabelOption>,
pub upper_label: Option<LabelOption>,
}Expand description
The options specific to a treemap series.
Fields§
§layout: Option<TreemapLayout>The layout of the treemap.
left: Option<f64>The width of the gap between the tiles.
right: Option<f64>The right gap between the tiles.
top: Option<f64>The top gap between the tiles.
bottom: Option<f64>The bottom gap between the tiles.
roam: Option<bool>Whether the treemap is navigable.
node_click: Option<String>The depth of the treemap.
label: Option<LabelOption>The label of a tile.
upper_label: Option<LabelOption>The upper level of the label.
Trait Implementations§
Source§impl Clone for TreemapOptions
impl Clone for TreemapOptions
Source§impl Debug for TreemapOptions
impl Debug for TreemapOptions
Source§impl Default for TreemapOptions
impl Default for TreemapOptions
Source§impl PartialEq for TreemapOptions
impl PartialEq for TreemapOptions
impl StructuralPartialEq for TreemapOptions
Auto Trait Implementations§
impl Freeze for TreemapOptions
impl RefUnwindSafe for TreemapOptions
impl Send for TreemapOptions
impl Sync for TreemapOptions
impl Unpin for TreemapOptions
impl UnsafeUnpin for TreemapOptions
impl UnwindSafe for TreemapOptions
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