Skip to content

Releases: rioaxyz/sonrchart

v0.9.0

Choose a tag to compare

@benniekingwood benniekingwood released this 23 Oct 14:18
f16cbc8

Added

  • Halt status from the data source: DataSource gains an optional subscribeHalt(symbol, onChange), and having the method is what turns the feature on. When present, the halt badge (#78) follows it with no host wiring. Call onChange(true) or pass a HaltBadge while the symbol is halted, and onChange(false) when trading resumes. The subscription renews per symbol, and one ticker's halt never carries over to the next. An explicit halted prop still takes precedence. SonrChartShell also gains a halted passthrough, since previously its charts could not show the badge at all.

Changed

  • Volume is no longer on by default. indicators now defaults to [] on both SonrChart and SonrChartShell (was ["VOL"]), so the chart opens with no studies. To keep the old behavior, pass indicators={["VOL"]}.
  • Candle type, sessions, and price-scale labels persist across remounts. persistenceKey now also carries these display settings, so a host that remounts the chart on a symbol change (key={symbol}, as SonrChartShell tiles commonly do) keeps the user's choices on every new ticker and interval. They already persisted while the chart stayed mounted. Like indicators, the candleStyle / sessions / priceLabels props now seed only the first mount for a key, though a later change to one still applies. savePersistedDisplay, loadPersistedDisplay, and clearPersistedDisplay are exported.

Fixed

  • An inline object prop (sessions={{ … }}, priceLabels={{ … }}, watermark={{ … }}) no longer resets the user's setting on every host re-render, such as a symbol switch. Props are now compared by value rather than identity, and only a real change is adopted.
  • The indicators menu now reflects studies the chart seeds from the indicators prop. That seed lands after the async resolveSymbol, which runs after the menu's one-shot mount read, so the menu showed VOL as unchecked while it was on the chart. The chart now fires subscribeIndicators once the seed lands, and IndicatorMenu re-reads on every indicator change. The data window picks up the same notification.

0.8.0

Choose a tag to compare

@benniekingwood benniekingwood released this 15 Oct 02:08
ae3ff1b

Added: scroll-back history pagination — an optional getBarsBefore(symbol, interval, count, before) on DataSource; panning to the left edge pages older bars in (anchor preserved) until true exhaustion, with seam-guarded dedupe, single-flight, stale-page discard, and error cooldown; datasources without the method behave exactly as before (#109, spec in docs/scrollback-pagination-spec.md). barCount passthrough on SonrChartShell (#107). The interim 0.7.1 bump was never published; its content ships here. Published 2026-10-15. See the changelog.

0.7.0

Choose a tag to compare

@benniekingwood benniekingwood released this 14 Oct 17:54
c6dc033

Added: per-tool drawing styles — color, solid/dashed, width per tool or for all tools, in Settings → Drawing (#103). Changed: drawing tools are sticky — stay armed across placements until toggled off (stickyDrawings={false} opts out) (#102); volume-trend default lookback is 2 bars (#101). Published 2026-10-14. See the changelog.

0.6.0

Choose a tag to compare

@benniekingwood benniekingwood released this 14 Oct 17:54
9d0d666

Added: per-symbol drawing persistence — each ticker keeps its own drawing set, carried across interval/scale/Heikin-Ashi switches (#97); Volume Surge pressure side — surges classify as buying/selling/neutral from Close Location Value, colored green/red/amber (#99). (An interim 0.5.1 bump (#98) was never published; its content ships here.) Published 2026-10-13.

0.5.0

Choose a tag to compare

@benniekingwood benniekingwood released this 14 Oct 17:54
882816e

Added: persistenceKey prop on SonrChart/SonrChartShell — the user's indicator set survives full unmounts of the chart (hosts that remount on symbol changes), on top of in-instance persistence across symbol/interval/scale switches (#94). Plus the changelog, release tags, and README Releases section (#92, #93, #95). Published 2026-10-10.

0.4.0

Choose a tag to compare

@benniekingwood benniekingwood released this 10 Oct 02:20
4cc8a17

Version realignment: gives the Volume Surge indicator (VSURGE) — which shipped early inside the 0.3.1 tarball — its honest version number (#91). No code changes beyond the bump. Published 2026-10-10. See the changelog.

0.3.1

Choose a tag to compare

@benniekingwood benniekingwood released this 10 Oct 01:48
34b8c79

Fixed: user indicators persist across symbol/interval/scale switches (#86, #87); canvas legends start below an overlaid ChartHeader (#88). Changed: Indicators menu alphabetized (#85). Note: the published tarball was built after the Volume Surge merge (#90), so VSURGE ships in this version despite the patch label. Published 2026-10-09.

0.3.0

Choose a tag to compare

@benniekingwood benniekingwood released this 10 Oct 01:48
3cdbe6a

Added: the volume-trend header row toggles from the Indicators menu (VOLTREND), with its on/off state on the chart handle (#83). Published 2026-10-08.

0.2.0

Choose a tag to compare

@benniekingwood benniekingwood released this 10 Oct 01:48
15c468d

Added: volume-trend readout in ChartHeader (#79, #80) and the trading-halt badge pinned to the top of the price pane (#78, #81). Published 2026-10-05.

0.1.0

Choose a tag to compare

@benniekingwood benniekingwood released this 10 Oct 01:48
6079356

First public scoped release (@rioaxyz/sonrchart, #77): candlestick charting on KLineChart 10 — themes, drawing tools with undo/redo and templates, indicators + study templates, session tinting, pattern markers, watermark, compare series, trade-review overlay, price/order lines, symbol search/metadata, snapshots, save/load, and the ChartHeader/ChartToolbar/SonrChartShell chrome. Published 2026-10-01.