pub struct ChartSyncOptions {
pub sync_time_axis: bool,
pub sync_crosshair: bool,
pub sync_drawings: bool,
pub sync_symbol: bool,
pub sync_timeframe: bool,
pub sync_date_range: bool,
}Expand description
Independent synchronization switches within each layout group.
Fields§
§sync_time_axis: boolSynchronize scrolling and zooming using UTC plot edges.
sync_crosshair: boolSynchronize the hovered timestamp.
sync_drawings: boolSynchronize completed main-pane drawings between charts of the same symbol. Study-owned drawings stay local because study ids and scales belong to each chart. Charts that keep their drawings in the same storage are left to it: they read each other’s stored drawings whether this is on or off, so a drawing reaches them once a chart history edit writes it. Only drawings that are not saveable still sync between them here.
sync_symbol: boolSynchronize symbol changes. A host without a feed must supply replacement bars.
sync_timeframe: boolSynchronize interval changes. A host without a feed must supply replacement bars.
sync_date_range: boolApply host date-range selections to the group, independently of scrolling and zooming.
Trait Implementations§
Source§impl Clone for ChartSyncOptions
impl Clone for ChartSyncOptions
Source§fn clone(&self) -> ChartSyncOptions
fn clone(&self) -> ChartSyncOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ChartSyncOptions
impl Debug for ChartSyncOptions
Source§impl Default for ChartSyncOptions
impl Default for ChartSyncOptions
Source§impl PartialEq for ChartSyncOptions
impl PartialEq for ChartSyncOptions
impl StructuralPartialEq for ChartSyncOptions
Auto Trait Implementations§
impl Freeze for ChartSyncOptions
impl RefUnwindSafe for ChartSyncOptions
impl Send for ChartSyncOptions
impl Sync for ChartSyncOptions
impl Unpin for ChartSyncOptions
impl UnsafeUnpin for ChartSyncOptions
impl UnwindSafe for ChartSyncOptions
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
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,
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> ⓘ
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> ⓘ
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