Trait Trace

Source
pub trait Trace {
    // Required method
    fn serialize(&self) -> String;
}
Expand description

A struct that implements Trace can be serialized to json format that is understood by Plotly.js.

Required Methods§

Source

fn serialize(&self) -> String

Implementors§

Source§

impl Trace for Layout

Source§

impl<H> Trace for Histogram<H>
where H: Serialize + Clone + Default + 'static,

Source§

impl<X, Y> Trace for Bar<X, Y>

Source§

impl<X, Y> Trace for BoxPlot<X, Y>

Source§

impl<X, Y> Trace for Candlestick<X, Y>

Source§

impl<X, Y> Trace for Ohlc<X, Y>

Source§

impl<X, Y> Trace for Scatter<X, Y>
where X: Serialize + Clone + 'static, Y: Serialize + Clone + 'static,

Source§

impl<X, Y, Z> Trace for Contour<X, Y, Z>

Source§

impl<X, Y, Z> Trace for HeatMap<Z, X, Y>

Source§

impl<X, Y, Z> Trace for Surface<X, Y, Z>
where X: Serialize, Y: Serialize, Z: Serialize,