Skip to content

Bump lightweight-charts from 5.0.2 to 5.0.9 - #38

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/lightweight-charts-5.0.9
Open

Bump lightweight-charts from 5.0.2 to 5.0.9#38
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/lightweight-charts-5.0.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 6, 2025

Copy link
Copy Markdown

Bumps lightweight-charts from 5.0.2 to 5.0.9.

Release notes

Sourced from lightweight-charts's releases.

v5.0.9

Enhancements

  • Added rightOffsetPixels option to HorzScaleOptions, allowing margin space from the right side of the chart to be set in pixels. This option takes precedence over rightOffset and ensures consistent pixel offset when using fitContent on charts with different amounts of data. The pixel-based offset remains consistent during zoom operations. (PR #1957)
  • Added pop method to series API that removes a specified number of data points from the end of the series and returns the removed data. (PR #1949, fixes #1518, contributed by @​tpunt)
  • Enhanced takeScreenshot method with two new optional parameters:
    • addTopLayer - includes top layer primitives in the screenshot (default: false)
    • includeCrosshair - includes the crosshair when addTopLayer is enabled (default: false) (PR #1977)
  • Added autoScale option to SeriesMarkersOptions, allowing control over whether markers are included in the auto-scaling calculation of the price scale. When enabled (default: true), the chart will adjust its scale to ensure markers are fully visible. (PR #1940, contributed by @​zbinlin)
  • Added base option to price format configuration as an alternative to minMove. This helps avoid floating-point precision limitations when dealing with extremely small price movements. (PR #1952)
  • Enhanced plugin API with additional functionality:
    • Added lastValueData() method to the public series API
    • Exposed setLineStyle drawing utility through a new DrawingUtils interface (PR #1956, contributed by @​tpunt)

Bug Fixes

  • Fixed price scale visible range calculation when in logarithmic scale mode by properly converting the range from log space and handling precision issues with rounding. (PR #1965, contributed by @​tpunt)

Plugin & Indicator Examples

  • Added Dual Range Histogram Series custom plugin example that visualizes paired positive and negative value ranges for each time point using a column-based display. (PR #1934)
  • Added Pretty Histogram plugin example demonstrating non-standard histogram rendering. (PR #1930)
  • Added examples demonstrating how to implement indicators (studies) within Lightweight Charts. See the Analysis Indicators tutorial for more information. (PR #1915)

Contributors

We'd like to thank our external contributors for their valuable contributions to this release:

Changes since the last published version.

v5.0.8

Enhancements

  • Improved pane API with several new methods and options:
    • Added addDefaultPane option to chart options, allowing creation of charts with no initial panes
    • Added addPane method to IChartApi for programmatically adding panes
    • Added setPreserveEmptyPane and preserveEmptyPane methods to control empty pane behavior
    • Added getStretchFactor and setStretchFactor methods to control relative pane sizes
    • Added addCustomSeries and addSeries methods to IPaneApi for creating series directly on a specific pane
    • Updated getHTMLElement to return null when a pane hasn't been created yet
    • These improvements provide greater flexibility when working with multi-pane charts (PR #1894, fixes #1898, #1896, #1872, #1907)
  • Added additional price scale tick mark formatting capabilities:
    • Added formatTickmarks method to IPriceFormatter interface
    • Added tickmarksPriceFormatter and tickmarksPercentageFormatter options to LocalizationOptionsBase

... (truncated)

Commits
  • fdef142 v5.0.9
  • 45841af Merge pull request #1956 from tpunt/plugin-api-improvements
  • 2051c30 Merge pull request #1949 from tpunt/bar-pop
  • 4a0dc02 Merge pull request #1965 from tpunt/fix-price-scale-visible-range-log-mode
  • c0cd4c9 Fix typo in DrawingUtils interface documentation
  • 383e9cc Merge pull request #1982 from tradingview/dependabot/npm_and_yarn/tar-fs-3.1.1
  • 15859ae Bump tar-fs from 3.1.0 to 3.1.1
  • e4a97d4 Merge pull request #1972 from tradingview/dependabot/npm_and_yarn/plugin-exam...
  • 70e1866 Merge pull request #1981 from tradingview/WRT-1942-add-link-to-demo-page
  • 2ee84ac WRT-1942: Add link to demo page
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [lightweight-charts](https://github.com/tradingview/lightweight-charts) from 5.0.2 to 5.0.9.
- [Release notes](https://github.com/tradingview/lightweight-charts/releases)
- [Commits](tradingview/lightweight-charts@v5.0.2...v5.0.9)

---
updated-dependencies:
- dependency-name: lightweight-charts
  dependency-version: 5.0.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants