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
,ChartActionParams
and default export. <[Type]Series>
: removedscaleMargins
property instead use the same property on<PriceScale>
component.<PriceLine>
:price
is required property now.<PriceScale>
:drawTicks
property is renamed toticksVisible
.
New features
<AreaSeries>
: addedinvertFilledArea
property which when set to true will invert the filled area (draw above the line instead of below it).<PriceScale>
: addedtextColor
property.