Skip to content

Releases: trash-and-fire/svelte-lightweight-charts

2.2.0

18 May 23:00
544e6bd
Compare
Choose a tag to compare
  • Supported lastPriceAnimation property on <AreaSeries> and <LineSeries>

2.1.0

12 Mar 19:30
25fc6c1
Compare
Choose a tag to compare
  • Added markers property to <[Type]Series> components.
  • Supported kineticScroll and trackingMode options on <Chart> component.
  • Supported autoSize option on <Chart> component.
  • Reduced layout shift on SSR. The chart component will reserve the specified width and height if the chart is not auto-sized.

2.0.0

12 Feb 22:53
b2a5e19
Compare
Choose a tag to compare

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

Check out lightweight-charts@4.0.0 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.

1.6.3

12 May 19:36
Compare
Choose a tag to compare
  • Fix circular dependency (#31)

1.6.2

06 May 12:32
Compare
Choose a tag to compare
  • Add module field and missing svelte dependency in package.json (96d3867)

Bundlephobia supports this package now

1.6.1

05 May 23:57
Compare
Choose a tag to compare

1.6.0

04 May 22:38
Compare
Choose a tag to compare
  • Public components and types are exported from index file. (#26)

1.5.0

27 Apr 23:53
Compare
Choose a tag to compare
  • Add <PriceScale> component (#24)

1.4.0

18 Apr 21:58
Compare
Choose a tag to compare
  • Add <TimeScale> component (#16)
  • Fix chart click event and typings (#18)
  • Make <PriceLine> immutable (#19)
  • Add reactive option to series components. It makes the data property to be reactive (#20)

You can learn how to use the new features in the new "Infinite History" sample at DEMO and at REPL

1.3.0

15 Apr 16:06
Compare
Choose a tag to compare
  • Add ref to a dom container and spread attributes to a dom container (#14)