You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixes
SeriesChart fits a trade priced a little outside the series, up to 5% of its range, into the plot at its true price, so a fill just under a 1-minute candle's low no longer draws over the time axis or into the attribution row. Trades further off are still left out.
Adds
CHART_ATTRIBUTION_HEIGHT (16), the attribution row's height in pixels with its margins, exported from the package root and /chart, so a loading skeleton can reserve the same space under the plot.
markersInRange, boundsWithMarkers and MARKER_PRICE_TOLERANCE, the maths behind the fit.
Upgrading
No breaking changes. withinPlotHeight is still exported but SeriesChart no longer uses it.