Releases: tradingview/lightweight-charts
Releases · tradingview/lightweight-charts
v4.2.2
Minor Improvements
- Improved price scale width calculation by not allocating space for crosshair labels when the crosshair is disabled. (PR #1743)
Bug Fixes
v4.2.1
Bug Fixes
- Fixed an issue where the series title part of a price scale label appeared blurry when using Firefox.
v4.2.0
Enhancements
- Added new
attributionLogo
option toLayoutOptions
. This feature displays the TradingView attribution logo on the main chart pane by default, helping users meet the library's licensing requirements for attribution.- The TradingView attribution logo can be easily hidden by setting the
attributionLogo
option tofalse
in the chart'slayout
option.
- The TradingView attribution logo can be easily hidden by setting the
- Improved data validation for
OhlcData
andSingleValueData
. IntroducedisFulfilledBarData
forOhlcData
andisFulfilledLineData
forSingleValueData
, ensuring more accurate validation of data types. Contributed by @mozeryansky (PR #1579, fixes #1526).
v4.1.7
Enhancements
- Further Refinement of the Price Scale Label Alignment. (PR #1630)
v4.1.6
v4.1.5
Enhancements
- Added
IHorzScaleBehavior.shouldResetTickmarkLabels
. (PR #1614)
4.1.4
Bug Fixes
- Fixed hoveredSeries being undefined during series removal and creation. (PR #1529, fixes #1406, fixes #1499)
- Fixed price label rendering artefact. (PR #1585, fixes #1584)
- Fixed an issue that prevented primitives with
zOrder
set totop
from drawing above the last price animation. (PR #1576) - Fixed possible ReDos. (PR #1536)
- Fixed marker positioning, which could cause a space between histogram and bottom of the chart. (PR #1538 & #1539, fixes #1382)
4.1.3
4.1.2
4.1.1
- Fixed
shiftVisibleRangeOnNewBar
behaviour for realtime updates to a series. Additionally, a new optionallowShiftVisibleRangeOnWhitespaceReplacement
has been added if you wish to have the old 4.0 behaviour for when new data replaces existing whitespace. (PR #1444) - When disabling touch scrolling on the chart via either the
vertTouchDrag
orhorzTouchDrag
setting in thehandleScroll
options, any touch scroll events over the corresponding scale will now be ignored so the page can be scrolled. (PR #1445)