Load history and stream bars
Page history through a feed, stream live updates, or connect HTTP column endpoints. Your host supplies the historical and streaming data.
Browse public types, method signatures, configuration fields and module-level
contracts for main (0.3 in development), egui/eframe 0.37, with all crate
features available. Rustdoc has its own symbol search: use it for names such as
Chart::add_pane. The guide’s Search finds explanations and tasks.
For the published 0.2.0 crate, which uses egui/eframe 0.33.3, open the separate release API on docs.rs.
Panes share the chart’s time axis and hold series or studies on their own price
scales. Overlays start in the price pane; oscillators can create separate panes.
Use Chart::add_pane
and move_series_to_pane
to place a series. Resize or reorder panes with set_pane_height and move_pane;
PaneOptions
controls separator interaction. Start with a built-in study.
Attach trade signals or events to a bar series with
Chart::set_markers.
Marker
sets the time, position, shape, colour and text; set_marker_options controls
autoscaling and drawing order. Markers belong to bar series, rather than study
outputs. For missing observations, use whitespace bars.
Attach a renderer with
Chart::attach_primitive,
or implement DrawingRenderer
for a custom drawing tool.
Load history and stream bars
Page history through a feed, stream live updates, or connect HTTP column endpoints. Your host supplies the historical and streaming data.
Keep a workspace
Save and load drawings, synchronize charts, and compose the application UI. Accounts and durable storage belong to your application.
For full applications using the public API, browse the runnable examples.
| Module | Use it for |
|---|---|
widget | Chart, ChartBuilder, series and interaction |
model | Bars, instruments, intervals, transforms and strategy results |
data | Feeds, replies, sinks, trades, depth, recording and replay |
studies | Indicator contracts, built-ins and custom studies |
drawings | Drawing models, interaction and persistence |
scales | Scale models, tick generation and formatters |
config | Chart options and input configuration |
theme | Theme presets and egui styling |
services | Host storage, search, signals, alerts and trading |
ui | Application components and their actions |