pub enum TooltipMode {
Floating,
Tracking,
Magnifier,
}Expand description
Tooltip display mode
Variants§
Floating
Floating tooltip that follows cursor position Shows OHLC, volume, and change info in a popup near the mouse
Tracking
Tracking tooltip - fixed position bar at top of chart Shows: O: xxx H: xxx L: xxx C: xxx Vol: xxx (+x.xx%) Updates as cursor moves horizontally across the chart
Magnifier
Magnifier tooltip - circular zoom lens following cursor Shows magnified view of candles/data under the cursor Useful for detailed analysis on dense charts
Trait Implementations§
Source§impl Clone for TooltipMode
impl Clone for TooltipMode
Source§fn clone(&self) -> TooltipMode
fn clone(&self) -> TooltipMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TooltipMode
Source§impl Debug for TooltipMode
impl Debug for TooltipMode
Source§impl Default for TooltipMode
impl Default for TooltipMode
Source§fn default() -> TooltipMode
fn default() -> TooltipMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TooltipMode
impl<'de> Deserialize<'de> for TooltipMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TooltipMode
impl Display for TooltipMode
impl Eq for TooltipMode
Source§impl PartialEq for TooltipMode
impl PartialEq for TooltipMode
Source§impl Serialize for TooltipMode
impl Serialize for TooltipMode
impl StructuralPartialEq for TooltipMode
Auto Trait Implementations§
impl Freeze for TooltipMode
impl RefUnwindSafe for TooltipMode
impl Send for TooltipMode
impl Sync for TooltipMode
impl Unpin for TooltipMode
impl UnsafeUnpin for TooltipMode
impl UnwindSafe for TooltipMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more