[][src]Struct plotly::layout::Layout

pub struct Layout { /* fields omitted */ }

Methods

impl Layout[src]

pub fn new() -> Layout[src]

pub fn title(self, title: Title) -> Layout[src]

pub fn show_legend(self, show_legend: bool) -> Layout[src]

pub fn legend(self, legend: Legend) -> Layout[src]

pub fn margin(self, margin: Margin) -> Layout[src]

pub fn auto_size(self, auto_size: bool) -> Layout[src]

pub fn width(self, width: usize) -> Layout[src]

pub fn height(self, height: usize) -> Layout[src]

pub fn font(self, font: Font) -> Layout[src]

pub fn separators(self, separators: &str) -> Layout[src]

pub fn paper_background_color<C: Color>(
    self,
    paper_background_color: C
) -> Layout
[src]

pub fn plot_background_color<C: Color>(self, plot_background_color: C) -> Layout[src]

pub fn color_scale(self, color_scale: LayoutColorScale) -> Layout[src]

pub fn colorway<C: Color>(self, colorway: Vec<C>) -> Layout[src]

pub fn color_axis(self, color_axis: ColorAxis) -> Layout[src]

pub fn hover_mode(self, hover_mode: &str) -> Layout[src]

pub fn click_mode(self, click_mode: &str) -> Layout[src]

pub fn drag_mode(self, drag_mode: &str) -> Layout[src]

pub fn select_direction(self, select_direction: &str) -> Layout[src]

pub fn hover_distance(self, hover_distance: i32) -> Layout[src]

pub fn spike_distance(self, spike_distance: i32) -> Layout[src]

pub fn hover_label(self, hover_label: Label) -> Layout[src]

pub fn grid(self, grid: LayoutGrid) -> Layout[src]

pub fn calendar(self, calendar: Calendar) -> Layout[src]

pub fn xaxis(self, xaxis: Axis) -> Layout[src]

pub fn yaxis(self, yaxis: Axis) -> Layout[src]

pub fn template(self, template: &str) -> Layout[src]

pub fn box_mode(self, box_mode: BoxMode) -> Layout[src]

pub fn box_gap(self, box_gap: f64) -> Layout[src]

pub fn box_group_gap(self, box_group_gap: f64) -> Layout[src]

pub fn bar_mode(self, bar_mode: BarMode) -> Layout[src]

pub fn bar_norm(self, bar_norm: BarNorm) -> Layout[src]

pub fn bar_gap(self, bar_gap: f64) -> Layout[src]

pub fn bar_group_gap(self, bar_group_gap: f64) -> Layout[src]

pub fn violin_mode(self, violin_mode: ViolinMode) -> Layout[src]

pub fn violin_gap(self, violin_gap: f64) -> Layout[src]

pub fn violin_group_gap(self, violin_group_gap: f64) -> Layout[src]

pub fn waterfall_mode(self, waterfall_mode: WaterfallMode) -> Layout[src]

pub fn waterfall_gap(self, waterfall_gap: f64) -> Layout[src]

pub fn waterfall_group_gap(self, waterfall_group_gap: f64) -> Layout[src]

pub fn pie_colorway<C: Color>(self, pie_colorway: Vec<C>) -> Layout[src]

pub fn extend_pie_colors(self, extend_pie_colors: bool) -> Layout[src]

pub fn sunburst_colorway<C: Color>(self, sunburst_colorway: Vec<C>) -> Layout[src]

pub fn extend_sunburst_colors(self, extend_sunburst_colors: bool) -> Layout[src]

Trait Implementations

impl Debug for Layout[src]

impl Serialize for Layout[src]

impl Trace for Layout[src]

Auto Trait Implementations

impl RefUnwindSafe for Layout

impl Send for Layout

impl Sync for Layout

impl Unpin for Layout

impl UnwindSafe for Layout

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,