Commit Graph

144 Commits

Author SHA1 Message Date
louisnw
114b02bcbf drawings can be placed on any series, reimplement jupyter, implement editable text boxes, allow for whitespace data within charts if they are NaN values, fix legend bug 2024-06-01 13:21:45 +01:00
louisnw
a8a11efcf6 reimplement raylines 2024-05-31 18:29:52 +01:00
louisnw
7915863a64 implement toggleable buttons; menu items can now be changed; add horizontal line and vertical line labels 2024-05-31 17:25:55 +01:00
louisnw
ca93ddbcb1 implement context manager 2024-05-31 16:35:21 +01:00
louisnw
8ff980abfc move to iife rather than es, add support for Wx and streamlit 2024-05-29 19:01:48 +01:00
louisnw
c518cb335b fix save drawings bug, ensure html files are copied into package 2024-05-29 11:41:41 +01:00
louisnw
8cd4eed2c0 fix 2024-05-27 22:46:15 +01:00
louisnw
35eb62ac29 implement () event. 2024-05-27 22:39:33 +01:00
louisnw
16b07546e2 implement keep_drawings 2024-05-27 22:24:55 +01:00
louisnw
eaa961a184 allow multiple range_change selectors 2024-05-25 14:33:09 +01:00
louisnw
f5488fbf22 reimplement markers 2024-05-25 14:19:44 +01:00
louisnw
a52cd8f4a7 add support for pyqt6, throw error and suggest downgrade for wx, streamlit, jupyter 2024-05-25 13:36:54 +01:00
louisnw
906571e4fb implement fill color option for boxes, start wx integration 2024-05-16 11:25:42 +01:00
louisnw
f8c0a5754d fix drawing delete method 2024-05-06 12:35:42 +01:00
louisnw
299ad6a4ae fix box options not working 2024-05-06 12:26:21 +01:00
louisnw
2d1ff5ce46 ensure two point drawings have a logical point value 2024-05-05 15:30:06 +01:00
louisnw
8bf4469c17 Merge branch 'main' into 2.0 2024-04-14 16:42:19 +01:00
louisnw
3fdd19e3ce implement drawing methods, fix horizontal line bug, continue refactor 2024-04-14 16:29:15 +01:00
louisnw
3ead45f858 remove horizontal line array methods on SeriesCommon, fix horizontal lines callbacks 2024-03-30 17:42:06 +00:00
louisnw
e9f21b3b0e 2.0 first commit 2024-03-30 15:38:34 +00:00
Pranav Ladkat
aac6b87b5e Add set() method to menu widget
- https://github.com/louisnw01/lightweight-charts-python/issues/300
2024-02-24 08:29:57 -08:00
Pranav Ladkat
b29ac581f4 support async functions for table
- https://github.com/louisnw01/lightweight-charts-python/issues/296
2024-02-24 08:29:57 -08:00
louisnw
fff23bd477 Add sync_crosshairs_only parameter to create_subchart (#293) 2024-02-24 13:26:59 +00:00
louisnw
745c14bb7f Fix toolbox hotkey chart selection and toolbox resize display bug (#267) 2024-02-24 13:01:37 +00:00
louisnw
e199e54c7a Fix #260, #264 (based on implementation by @mr-easy) 2024-02-24 12:36:22 +00:00
louisnw01
dceac70913 Merge pull request #292 from niquedegraaff/patch-1
Update abstract.py: Set default dtype for Series instantiation
2024-02-24 11:47:19 +00:00
louisnw
9810940a9b Fix #278 (display 'flex' instead of 'block')
Fix syncing of chart legends (#284).
2024-02-24 11:33:18 +00:00
Dominique de Graaff
06619b198a Update abstract.py: Set default dtype for Series instantiation
Following Pandas advice on this warning message: 

FutureWarning: The default dtype for empty Series will be 'object' instead of 'float64' in a future version. Specify a dtype explicitly to silence this warning.
2024-02-15 17:14:01 +01:00
louisnw
8715ddae58 Added the marker_list function for setting multiple markers. 2024-02-14 16:03:17 +00:00
louisnw
5861da2123 Added the render_drawings parameter to update
Added the `round` parameter to `vertical_span`
2024-01-21 14:42:54 +00:00
louisnw01
f31db04464 Merge pull request #245 from CodexLink/feat/impl-addl-price-scale-options
feat(price-scale-options): introduce missing `PriceScaleOptions` based on Version 4.1 TV Docs
2024-01-13 17:02:41 +00:00
louisnw01
444942d43f Merge pull request #251 from traderjoe1968/position_fix
subchart Position fix
2024-01-12 17:26:27 +00:00
louisnw
74db7b5353 Fix string type dates not being parsed.
Fix table flex alignment

Topbar switcher values now update immediately
2024-01-12 17:09:23 +00:00
Trader Joe
bbac48078c position_fix 2024-01-07 19:32:08 +11:00
Trader Joe
94eb167a42 Revert "Position Fix"
This reverts commit b782c01193.
2024-01-07 19:29:28 +11:00
Trader Joe
b782c01193 Position Fix 2024-01-07 19:28:58 +11:00
Janrey Licas
63b8c6bcf3 fix(abstract): fix f-string structure 2024-01-02 18:10:46 +08:00
Janrey Licas
89695717c2 feat(abstract): introduce other 4.1 PriceScaleOptions 2024-01-01 17:41:33 +08:00
louisnw
92b8fd0a04 Update examples to fit ms timestamps
Cleanup PolygonChart `title`, `screen` error.
2023-12-22 00:23:51 +00:00
neodino
c44282e49e fix: #223 super init updated to aligh with Chart class init 2023-12-16 01:34:11 +11:00
louisnw
da2a5103fa Enhancements & Bug Fixes
- Added the `color_based_on_candle` parameter to the legend, which will color the percentage change based on the candle color underneath the crosshair.
(#210)
- Fixed a bug which prevented the legend from turning off. (#216)
2023-12-10 19:48:27 +00:00
louisnw
f798e5f944 Persistent Drawings 2023-11-23 19:25:36 +00:00
louisnw
631afd450f Enhancements:
- Added the `title` parameter to `Chart`.

Bug Fixes:
- When passing a timestamp format to `set`, `update`, or `update_from_tick`, the unit is now by default milliseconds rather than nanoseconds.
- When using `update`, if a time is passed that occurs before the current last datapoint, an error will be raised.
2023-11-22 17:31:35 +00:00
louisnw
c3645ef245 pandas ambigious hotfix 2023-11-02 11:41:03 +00:00
louisnw
e587dd357c Legend hotfix 2023-10-31 22:57:09 +00:00
louisnw
fecfb6531c Enhancements & Bug Fixes
- Updated to Lightweight Charts 4.1
- Topbar menu widgets will now scroll when a large number of items are added to them
- Vertical Spans can now be placed on Line objects

Bugs
- Histograms will now be deleted from the legend
- autoScale is reset to true upon using `set`.
2023-10-31 14:19:40 +00:00
louisnw
5bb3739a40 Enhancements & Bug Fixes
- Line, and histogram data can now be accessed from their `data` methods.
- Fixed a bug causing `maximize` to fail if a screen is not specified
- Global events can now be coroutines or functions.
2023-10-21 14:13:11 +01:00
louisnw
2c27ad66eb fix pyqt bug 2023-10-12 15:52:13 +01:00
louisnw
33be333b41 - legend 'text' parameter for displaying static text
- table 'resize' method
2023-10-09 17:30:40 +01:00
louisnw
8b6a92be62 - table heading/footer callbacks
- fix Qt contextMenuPolicy bug on PyQt5
2023-10-09 16:50:38 +01:00