Expand description
Editable and serializable chart display settings.
Use ChartSettingsState to read, modify or persist the settings exposed by
the chart settings dialog without depending on application UI components.
Structs§
- Alerts
Settings - Alerts tab settings
- Buttons
Settings - Canvas tab: Buttons visibility settings
- Candle
Color Config - Candle color configuration (body, border, wick for up/down candles) and which parts are drawn. Saved settings without a field take its default.
- Chart
Basic Styles Settings - Canvas tab: Chart basic styles settings
- Chart
Settings State - Serializable display settings shared by the chart and its settings dialog.
- Crosshair
Settings - Canvas tab: Crosshair settings
- Grid
Lines Settings - Canvas tab: Grid lines settings
- Margins
Settings - Canvas tab: Margins settings
- Order
Flow Settings - Independent order-flow layers and their appearance. Missing saved fields keep layers off.
- Scales
AndLines Settings - Scales and lines tab settings
- Scales
Appearance Settings - Canvas tab: Scales appearance settings
- Status
Line Options - Status line display options. Saved settings without a field take its default.
- Trading
Settings - Trading tab settings: the Buy and Sell buttons’ behaviour, notifications and the layers
ui::trading::Trading::showdraws throughTrading::displaywith theuifeature. The Buy and Sell buttons themselves areStatusLineOptions::show_quote_boxes. Saved settings without a field take its default, unless the field says otherwise. - Watermark
Settings - Canvas tab: Watermark settings
Enums§
- Background
Type - Background type for chart
- Button
Visibility - Button visibility mode
- Chart
Settings Error - Why
ChartSettingsState::apply_to_chartleft the chart unchanged. Its text is the one the settings dialog shows. - Grid
Lines Mode - Grid lines display mode
- Precision
Mode - Precision mode for price display
- Trading
Notifications - Which trading events raise a notification: the levels of the toasts they use.
- Watermark
Mode - Watermark display mode