View time series, instruments, and date sets on an interactive graph.
The Chart is one of the most-used tools in Hedgehog. It lets you visualize and compare time series data — stock prices, computed metrics, date sets, and more — on interactive XY charts with full control over renderers, axes, and annotations.
AAPL) in the expression bar at the bottom and press Enter.The expression bar (code editor) is located at the bottom of the chart window. Press Ctrl+E to focus it from anywhere in the window.
AAPL, MSFT) to add its default time series as a new dataset.AAPL.close() / MSFT.close() for a relative price ratio.Each entry in the expression bar creates a dataset on the chart. A dataset may contain one or more series (e.g., an OHLC dataset contains open, high, low, and close series).
The renderer determines how a dataset is visualized. To change the renderer, click a dataset's label to select it, then choose a renderer from the Dataset ribbon tab.
| Renderer | Description |
|---|---|
| Line | Standard line chart connecting data points. |
| Area | Filled area under the line. |
| Bar | Vertical bars for single-series datasets. |
| Points | Scatter plot (points only, no connecting line). |
| Candlestick | OHLC data as candlestick bars. Requires an OHLC dataset. |
| OHLC | Open-High-Low-Close as thin bars. Requires an OHLC dataset. |
| Category Bar | Clustered bars for comparing multiple series side by side. |
| Renderer | Description |
|---|---|
| Stacked Bar | Multiple series stacked vertically as bars. |
| Stacked Area | Multiple series stacked as filled areas. |
| Difference | Filled region between two series, colored by which is larger. |
| Band | A filled range (e.g., upper/lower bounds) between two series. |
| Renderer | Description |
|---|---|
| Dividend | Marks dividend payment events on the chart. |
| Stock Split | Marks stock split events. |
| Spinoff | Marks corporate spinoff events. |
| DateSet | Renders date set events as vertical markers or bands. |
Hover over a renderer button to preview the change; move away to revert. Click to apply.
A chart can have multiple subplots stacked vertically. All subplots share a common date (domain) axis but have independent range (value) axes.
Annotations can be drawn directly on the chart or attached to a specific dataset.
| Annotation | Description |
|---|---|
| Line | Draw a line between two points. |
| Interval | Highlight a date range with a shaded band. |
| Text | Text label with optional HHLang expression parameters. |
| Shape | Draw rectangles, ovals, or other shapes. |
| Draw | Freeform drawing on the chart. |
| Trendlines | Linear regression trendline through data points. |
| % Change | Vertical marker showing percent change between two points on the Y axis. |
See Exporting below.
Appears when a subplot is selected. Controls subplot title, background color, domain axis range, and plot-level annotations.
Appears when a dataset is selected. Controls dataset name, renderer, annotations, metadata, and domain normalization.
Appears when an axis is selected. Controls frequency, format, scale, range, and time zone.
| Action | Description |
|---|---|
| Copy to Clipboard | Copy all data as tab-delimited text (one date column, one column per series). |
| Copy Displayed Range to Clipboard | Same, but limited to the visible date range. |
| Export to Excel | Save all data to an .xlsx file. |
| Export Displayed Range to Excel | Same, limited to the visible range. |
| Export as Spreadsheet | Create a new Spreadsheet document from the chart data. |
| Export Displayed Range as Spreadsheet | Same, limited to the visible range. |
Each subplot exposes settings via the Plot ribbon tab: