Expand description
Drawing properties dialog - modal popup for editing drawing properties.
Provides a properties dialog for drawings with tabs:
- Style: Color, line width, line style, fill options
- Inputs: Saved tool-specific levels, sizing and calculation settings
- Coordinates: Price and time points
- Visibility: Timeframe visibility settings
- Text: Labels and font settings
Open with DrawingPropertiesDialog::open_for_chart and call
DrawingPropertiesDialog::show_and_apply each frame to apply validated edits in the library.
Hosts persist crate::drawings::DrawingManager::tool_defaults and may attach storage to
DrawingPropertiesDialog::templates. Delete and Clone are in the drawing context menu.
Structs§
- Coordinate
Point - Editable coordinate fields. Times are UTC and retain subsecond precision.
- Coordinates
State - Coordinates staged independently of the live drawing until Apply.
- Drawing
Id - Unique identifier for a drawing
- Drawing
Properties Config - Configuration for the drawing properties dialog
- Drawing
Properties Dialog - Drawing properties dialog
- Drawing
Props - Drawing properties that can be edited
Enums§
- Drawing
Properties Action - Actions from the drawing properties dialog
- Properties
Tab - Tab selection for drawing properties