Expand description
Chart toolbars, panels, dialogs and trading controls for host applications.
Place the components in your egui layout and apply their returned actions to
the chart or host services. The components share crate::ui_kit controls and
the active theme; market data, account connections and storage come from the host.
Re-exports§
pub use app_state::ChartAppState;pub use app_state::Control;pub use replay::floating as floating_replay_control;pub use replay::status as replay_status;
Modules§
- app_
state - Application state trait for UI synchronization.
- chart_
controls - Pane maximize, restore and close buttons.
- connection_
status - Connection status icon with an optional text label.
- context_
menu - Chart context menu
- dialogs
- Modal dialogs.
- drawing_
toolbar - Categorized drawing tool picker and drawing utility controls.
- export
- Chart export functionality for screenshots and saving charts
- financials
- A company’s financials in place of the price chart: a chart of one row over the periods and the table of every row, page by page, from figures the host supplies.
- floating_
toolbar - Floating Selection Toolbar
- icons
- Icon size presets.
- ideas
- Ideas panel: a composer and a browsing feed for ideas and short posts.
- model
- Domain model shared by the application UI components.
- multi_
chart - Multi-chart layout and synchronization types.
- profile
- Profile details and follow controls for a host’s
ProfileDirectory. - replay
- Historical bar replay controls, session state and cursor management.
- strategy_
report - A replaceable strategy report, independent of chart navigation and host storage.
- study_
editor - Study editor panel: an editing surface for host-owned study source.
- symbol_
header - Symbol Header Widget
- timeframe_
toolbar - Timeframe toolbar
- top_
toolbar - Upper toolbar module
- trading
- Trading from the chart through the host’s
Broker: the broker picker, the order ticket, the Buy and Sell buttons, depth ladder and the account panel. The broker holds the account; this module shows what it pushes and sends the orders the user confirms. - widget_
bar - Widget bar
Functions§
- trade_
profile_ menu - Shows merge/split commands for
indexinside a host menu.split_atis a bar boundary selected by the user, such as the hovered bar. Returns whether the ranges changed; rebuild the profiles withcrate::studies::trade_profilesafter a change.