Skip to content

v0.18.3

Choose a tag to compare

@Ovi1kanobe Ovi1kanobe released this 05 Oct 16:49
· 5 commits to main since this release
0ebc795

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.