pub struct ChartCanvasPanelProps {
pub pointer_region: PointerRegionProps,
pub canvas: CanvasProps,
pub engine: Option<Model<ChartEngine>>,
pub spec: ChartSpec,
pub tooltip_formatter: Option<Arc<dyn TooltipFormatter>>,
pub input_map: ChartInputMap,
pub style: ChartStyle,
}Fields§
§pointer_region: PointerRegionProps§canvas: CanvasProps§engine: Option<Model<ChartEngine>>When None, an internal engine model is created once from spec.
spec: ChartSpec§tooltip_formatter: Option<Arc<dyn TooltipFormatter>>Optional formatter hook for axis-trigger tooltips (ADR 0209).
When None, DefaultTooltipFormatter is used.
input_map: ChartInputMapChart interaction mapping (ImPlot-aligned). Defaults to a “safe” wheel mapping (zoom requires Ctrl), because charts are often embedded inside scroll containers.
style: ChartStyleImplementations§
Trait Implementations§
Source§impl Clone for ChartCanvasPanelProps
impl Clone for ChartCanvasPanelProps
Source§fn clone(&self) -> ChartCanvasPanelProps
fn clone(&self) -> ChartCanvasPanelProps
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChartCanvasPanelProps
impl !RefUnwindSafe for ChartCanvasPanelProps
impl !Send for ChartCanvasPanelProps
impl !Sync for ChartCanvasPanelProps
impl Unpin for ChartCanvasPanelProps
impl UnsafeUnpin for ChartCanvasPanelProps
impl !UnwindSafe for ChartCanvasPanelProps
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