Struct HeatMap

Source
pub struct HeatMap<Z, X, Y>{ /* private fields */ }

Implementations§

Source§

impl<Z> HeatMap<Z, f64, f64>
where Z: Serialize + Default,

Source

pub fn new_z(z: Vec<Z>) -> Box<HeatMap<Z, f64, f64>>

Source§

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

Source

pub fn new(x: Vec<X>, y: Vec<Y>, z: Vec<Z>) -> Box<HeatMap<Z, X, Y>>

Source

pub fn name(self, name: &str) -> Box<HeatMap<Z, X, Y>>

Source

pub fn visible(self, visible: bool) -> Box<HeatMap<Z, X, Y>>

Source

pub fn show_legend(self, show_legend: bool) -> Box<HeatMap<Z, X, Y>>

Source

pub fn legend_group(self, legend_group: &str) -> Box<HeatMap<Z, X, Y>>

Source

pub fn opacity(self, opacity: f64) -> Box<HeatMap<Z, X, Y>>

Source

pub fn text<S: AsRef<str>>(self, text: Vec<S>) -> Box<HeatMap<Z, X, Y>>

Source

pub fn hover_text<S: AsRef<str>>( self, hover_text: Vec<S>, ) -> Box<HeatMap<Z, X, Y>>

Source

pub fn hover_info(self, hover_info: HoverInfo) -> Box<HeatMap<Z, X, Y>>

Source

pub fn hover_template(self, hover_template: &str) -> Box<HeatMap<Z, X, Y>>

Source

pub fn x_axis(self, axis: &str) -> Box<HeatMap<Z, X, Y>>

Source

pub fn y_axis(self, axis: &str) -> Box<HeatMap<Z, X, Y>>

Source

pub fn hover_template_array<S: AsRef<str>>( self, hover_template: Vec<S>, ) -> Box<HeatMap<Z, X, Y>>

Source

pub fn color_bar(self, color_bar: ColorBar) -> Box<HeatMap<Z, X, Y>>

Source

pub fn auto_color_scale(self, auto_color_scale: bool) -> Box<HeatMap<Z, X, Y>>

Source

pub fn color_scale(self, color_scale: ColorScale) -> Box<HeatMap<Z, X, Y>>

Source

pub fn show_scale(self, show_scale: bool) -> Box<HeatMap<Z, X, Y>>

Source

pub fn reverse_scale(self, reverse_scale: bool) -> Box<HeatMap<Z, X, Y>>

Source

pub fn zauto(self, zauto: bool) -> Box<HeatMap<Z, X, Y>>

Source

pub fn zhover_format(self, zhover_format: &str) -> Box<HeatMap<Z, X, Y>>

Source

pub fn zmax(self, zmax: Z) -> Box<HeatMap<Z, X, Y>>

Source

pub fn zmid(self, zmid: Z) -> Box<HeatMap<Z, X, Y>>

Source

pub fn zmin(self, zmin: Z) -> Box<HeatMap<Z, X, Y>>

Source

pub fn zsmooth(self, zsmooth: &str) -> Box<HeatMap<Z, X, Y>>

Source

pub fn connect_gaps(self, connect_gaps: bool) -> Box<HeatMap<Z, X, Y>>

Source

pub fn hover_label(self, hover_label: Label) -> Box<HeatMap<Z, X, Y>>

Source

pub fn hover_on_gaps(self, hover_on_gaps: bool) -> Box<HeatMap<Z, X, Y>>

Source

pub fn transpose(self, transpose: bool) -> Box<HeatMap<Z, X, Y>>

Source

pub fn x_calendar(self, calendar: Calendar) -> Box<HeatMap<Z, X, Y>>

Source

pub fn y_calendar(self, calendar: Calendar) -> Box<HeatMap<Z, X, Y>>

Trait Implementations§

Source§

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

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

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

Source§

fn default() -> HeatMap<Z, X, Y>

Returns the “default value” for a type. Read more
Source§

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

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

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

Auto Trait Implementations§

§

impl<Z, X, Y> Freeze for HeatMap<Z, X, Y>
where Z: Freeze,

§

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

§

impl<Z, X, Y> Send for HeatMap<Z, X, Y>
where Z: Send, X: Send, Y: Send,

§

impl<Z, X, Y> Sync for HeatMap<Z, X, Y>
where Z: Sync, X: Sync, Y: Sync,

§

impl<Z, X, Y> Unpin for HeatMap<Z, X, Y>
where Z: Unpin, X: Unpin, Y: Unpin,

§

impl<Z, X, Y> UnwindSafe for HeatMap<Z, X, Y>
where Z: UnwindSafe, X: UnwindSafe, Y: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

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

Source§

fn vzip(self) -> V