Releases: trash-and-fire/svelte-lightweight-charts
Releases · trash-and-fire/svelte-lightweight-charts
2.2.0
2.1.0
- Added
markersproperty to<[Type]Series>components. - Supported
kineticScrollandtrackingModeoptions on<Chart>component. - Supported
autoSizeoption 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
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,ChartActionParamsand default export. <[Type]Series>: removedscaleMarginsproperty instead use the same property on<PriceScale>component.<PriceLine>:priceis required property now.<PriceScale>:drawTicksproperty is renamed toticksVisible.
New features
<AreaSeries>: addedinvertFilledAreaproperty which when set to true will invert the filled area (draw above the line instead of below it).<PriceScale>: addedtextColorproperty.
1.6.3
1.6.2
- Add
modulefield and missingsveltedependency inpackage.json(96d3867)
Bundlephobia supports this package now