Lightweight-charts

Latest version: v2.1

Safety actively analyzes 715032 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

1.0.10

- Moved ChartAsync’s methods into the Chart object.
- Removed ChartAsync.
- Added the `show_async` method to `Chart`.
- Refactored how the TopBar is used. The docs explain this in detail, but a basic rundown is:
* `corner_text` and `create_switcher` are no longer methods. The `topbar` attribute of `chart` should be used instead.
* switchers and textboxes, now created with `chart.topbar.textbox` and `chart.topbar.switcher` require a name to be passed to them, which is used to access its instance (e.g `chart.topbar[‘timeframe’]`)
* If you have any questions about these changes, or potential enhancements, feel free to raise an issue and I will get back to you ASAP :)

- PtQt and Wx can now use either synchronous or asynchronous callback functions

- BETA: Support for Jupyter Notebooks

- Fixed a bug causing the ‘date’ column of DataFrames passed to `set`, `update`, and `update_from_tick` to be modified.

1.0.9

New Feature: `ChartAsync`
- Added the ChartAsync class, allowing for more sophisticated Charts and SubCharts.
- Symbol searching, timeframe selectors, and more is now possible with this varation of Chart.

- `QtChart` and `WxChart` have access to all the methods that `ChartAsync` has, however they utilize their own respective event loops rather than asyncio.

New Feature: `StreamlitChart`
- Chart window that can display static data within a Streamlit application.

Removed the `subscribe_click` method.

1.0.8

Bugs
- Fixed a bug causing loading times for large amounts of data to be increased significantly.

Features
- **BETA: Dynamic candlestick loading**
- For large, static, sets of data, this should increase performance.
- Expect glitches and bugs, but do raise issues if you find any!
- At the moment, this feature only works on _static_ data; breaking bugs are present with live data!
- **the config method has been removed, and its methods can now be found:**
- `right_padding`: moved to the `time_scale` method.
- `mode`: moved to the new `price_scale` method.
- `title`: declared in the new `title` common method.
- **It is now possible to update titles, horizontal_lines, and markers within Line objects.**

1.0.7

- Significant refactoring resulting in a 34% reduction in size of the codebase (excluding the Lightweight Charts package) and greater efficiency.
- Upgraded to Lightweight Charts v4.0.1.
- Added a ‘hover’ item to the returning dictionary from subscribe_click.
- Markers and SubCharts no longer use a UUID for identification, but an 8 character string.

1.0.6

- Fixed a bug causing the library to throw errors when used with python 3.9.
- Fixed a bug that did not size the multi pane charts correctly.
- Implementation of the ‘grid’ common method.

1.0.5

- Added the create_subchart method to Chart.
- Added the SubChart class.
- Added an inner_width and inner_height parameter to Chart.
- The time_scale method can now disable the time scale completely.

Page 5 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.