Expand description
Appearance and interaction options for the chart widget.
ChartConfig controls visual styling, while ChartOptions groups time scale,
scrolling, zoom, keyboard, crosshair and tooltip behavior. Start with Default
and set the fields needed by your application.
Re-exports§
pub use crate::scales::TimezoneMode;
Structs§
- Axis
Double Click Reset Options - Axis-specific double-click reset options
- Axis
Pressed Mouse Move Options - Axis-specific pressed mouse move options
- Chart
Config - Configuration for chart visual appearance.
- Chart
Options - Top-level chart interaction options.
- Crosshair
Options - Crosshair options
- Handle
Scale Options - Handle Scale Options Controls how zoom/scale interactions work
- Handle
Scroll Options - Handle Scroll Options Controls how scrolling/panning interactions work
- Keyboard
Options - Global keyboard shortcut configuration.
- Kinetic
Scroll Options - Kinetic scroll animation parameters.
- Parse
Tool Type Error - The error
DrawingToolType’sFromStrreturns for a name that is not a drawing tool. - Price
Axis Options - Appearance of the price axis: its border, tick marks and which labels it shows. It applies to the main and series price axes; value tag settings also apply to study panes.
- Session
Config - Trading session configuration.
- Time
Scale Options - Time Scale Options. Controls bar spacing, scrolling constraints, and time display.
- Tooltip
Options - Tooltip configuration options
- Tracking
Mode Options - Tracking mode options Controls automatic price following behavior
Enums§
- Background
Style - Background style for the chart.
- Crosshair
Mode - Crosshair mode
- Crosshair
Style - Crosshair visual style
- Drawing
Interaction Mode - How a drawing tool captures points from mouse/pointer input.
- Drawing
Tool Type - Enumeration of all drawing tool types available in the charting engine.
- Font
Weight - Font weight shared by chart watermarks and drawing annotations.
- Keyboard
Action - Keyboard actions that can be performed on the chart
- Navigation
Buttons - When the chart shows a group of buttons: its navigation buttons in the main pane, or the maximize and menu buttons of its panes.
- Realtime
Button Pos - Pos options for the “Go to Realtime” button
- Tooltip
Mode - Tooltip display mode
- Tracking
Mode Exit Mode - How tracking mode (crosshair auto-follow) is exited.
- Watermark
Pos - Pos options for the watermark overlay