Breaking changes
We have some breaking changes since the latest version due some features and API improvements:
- Methods
subscribeVisibleTimeRangeChange
andunsubscribeVisibleTimeRangeChange
has been moved from ChartApi to TimeScaleApi - Since 3.0 you can specify price axis you'd like to place the series on. The same for moving the series between price scales (see migration guide below)
See breaking changes doc with migration guide to migrate smoothly.
Enhancement
- Added ability to customize time scale tick marks formatter (see #226)
- Added ability to put text for series markers (see #207)
- Added ability to specify your own date formatter (see #368)
- Improved tick marks generation algorithm for the first point (see #387)
- Made inbound types weakly (outbound ones should be strict) (see #374)
- Removed non-exported const enum's JS code (see #432)
- Introduced ts-transformer-properties-rename instead of ts-transformer-minify-privates (see #436)
Added
- Add ability to override series' autoscale range (see #392)
- Add API to get price scale's width (see #452)
- Disabling/enabling scaling axis for both price and time (see #440)
- Get screen coordinate by a time point (see #435)
- Remove tick mark from price label (see #378)
- Support the second price axis (see #129)
- Visible time range should have bars count of the space from left/right (see #335)
Fixed
series.setMarkers
requires at least one data point (see #372)- Impossible to override the only width or height in constructor (see #353)
- Incorrect alignment of markers if series has gaps (see #464)
- Multiple series: error while trying to scroll the chart (see #373)
- Replace const enums with enums to let use them in projects with enabled isolatedModules option (see #375)
Thanks to our contributors:
- Ben Guidarelli @barnjamin
- gkaindl @gkaindl
- scrwdrv @scrwdrv
- Yusuf Sahin HAMZA @yusufsahinhamza
See issues assigned to this version's milestone or changes since the last published version.