Skip to content

Releases: tradingview/lightweight-charts

v4.2.2

06 Dec 16:35
2233a78
Compare
Choose a tag to compare

Minor Improvements

  • Improved price scale width calculation by not allocating space for crosshair labels when the crosshair is disabled. (PR #1743)

Bug Fixes

  • Fixed calculations for fixLeftEdge and fixRightEdge on the first render when both are true and data is added to an initially empty chart. Fixes issue #1356. (PR #1741)

Changes since the last published version.

v4.2.1

02 Oct 19:39
6902233
Compare
Choose a tag to compare

Bug Fixes

  • Fixed an issue where the series title part of a price scale label appeared blurry when using Firefox.

Changes since the last published version.

v4.2.0

26 Jul 12:34
23c42eb
Compare
Choose a tag to compare

Enhancements

  • Added new attributionLogo option to LayoutOptions. 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 to false in the chart's layout option.
  • Improved data validation for OhlcData and SingleValueData. Introduced isFulfilledBarData for OhlcData and isFulfilledLineData for SingleValueData, ensuring more accurate validation of data types. Contributed by @mozeryansky (PR #1579, fixes #1526).

Changes since the last published version.

v4.1.7

11 Jul 16:19
42659f2
Compare
Choose a tag to compare

Enhancements

  • Further Refinement of the Price Scale Label Alignment. (PR #1630)

Changes since the last published version.

v4.1.6

21 Jun 13:17
9844e8d
Compare
Choose a tag to compare

Enhancements

  • Improved Price Scale Label Alignment: Enhanced the alignment algorithm for price scale labels to ensure they do not move out of the viewport. This improves the visibility of price labels, particularly when they are near the edges of the scale. Fixes #1620 (PR #1621)

Changes since the last published version.

v4.1.5

11 Jun 14:34
3613ed4
Compare
Choose a tag to compare

Enhancements

  • Added IHorzScaleBehavior.shouldResetTickmarkLabels. (PR #1614)

Changes since the last published version.

4.1.4

08 May 16:35
Compare
Choose a tag to compare

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 to top 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)

Changes since the last published version.

4.1.3

06 Feb 17:22
Compare
Choose a tag to compare

Minor Improvements

  • Added option to disable bold labels in the time scale. (PR #1510)

Bug Fixes

  • Fixed sub-pixel horizontal alignment of the crosshair marker and series markers. (PR #1505, fixes #1504)

Changes since the last published version.

4.1.2

16 Jan 17:28
Compare
Choose a tag to compare

Bug Fixes

  • Fix for 'Total canvas memory use exceeds the maximum limit' error raised on iOS Safari. (PR #1485)

Minor Improvements

  • Improved error messages for price scale margins. (PR #1489)

Changes since the last published version.

4.1.1

25 Oct 17:09
Compare
Choose a tag to compare
  • Fixed shiftVisibleRangeOnNewBar behaviour for realtime updates to a series. Additionally, a new option allowShiftVisibleRangeOnWhitespaceReplacement 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 or horzTouchDrag setting in the handleScroll options, any touch scroll events over the corresponding scale will now be ignored so the page can be scrolled. (PR #1445)

Changes since the last published version.