Skip to content

2.0.0

Compare
Choose a tag to compare
@trash-and-fire trash-and-fire released this 12 Feb 22:53
· 16 commits to master since this release
b2a5e19

This major release raises the required lightweight-charts package version to 4.0.0 providing support for new features from the package.

Check out [email protected] release notes first.

Major updates

  • Compatibility with SvelteKit. The package comes as ESM compatible, which provides full support for modern tools and bundlers.

Breaking changes

  • ESM only (CJS support can be added on demand in the future).
  • Removed deprecated chart action exports: chart, ChartActionParams and default export.
  • <[Type]Series>: removed scaleMargins property instead use the same property on <PriceScale> component.
  • <PriceLine>: price is required property now.
  • <PriceScale>: drawTicks property is renamed to ticksVisible.

New features

  • <AreaSeries>: added invertFilledArea property which when set to true will invert the filled area (draw above the line instead of below it).
  • <PriceScale>: added textColor property.