Commit Graph

63 Commits

Author SHA1 Message Date
c29b1c5535 all datetime columns changed to timestamp, change from json to faster orjson 2024-06-12 13:33:50 +02:00
9bd4d089b5 markers finished, subsecond precision supported 2024-06-11 09:06:56 +02:00
23fbf3a23d markers pd series support 2024-06-10 22:34:21 +02:00
d6a7fa1e3c leftScale to subchart 2024-06-10 21:17:03 +02:00
2b2e9c1cb3 leftScale as new Chart parameter 2024-06-10 20:57:38 +02:00
c0338229e9 colored legend, self picking colors, left scale, pd.series support in set 2024-06-10 16:41:43 +02:00
e93d9ebcef custom changes 2024-06-10 16:18:19 +02:00
3267267350 rename test.html to index.html, add UTF-8 meta tag to index.html 2024-06-08 11:15:24 +01:00
3e2210ca02 fix histogram not showing in legend 2024-06-08 11:09:00 +01:00
c3af596f91 ensure textboxes and searchboxes do not clash, fix legend item deletion, fix legend throwing error 2024-06-05 14:24:16 +01:00
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
a8a11efcf6 reimplement raylines 2024-05-31 18:29:52 +01:00
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
ca93ddbcb1 implement context manager 2024-05-31 16:35:21 +01:00
8ff980abfc move to iife rather than es, add support for Wx and streamlit 2024-05-29 19:01:48 +01:00
8cd4eed2c0 fix 2024-05-27 22:46:15 +01:00
16b07546e2 implement keep_drawings 2024-05-27 22:24:55 +01:00
f5488fbf22 reimplement markers 2024-05-25 14:19:44 +01:00
906571e4fb implement fill color option for boxes, start wx integration 2024-05-16 11:25:42 +01:00
3fdd19e3ce implement drawing methods, fix horizontal line bug, continue refactor 2024-04-14 16:29:15 +01:00
3ead45f858 remove horizontal line array methods on SeriesCommon, fix horizontal lines callbacks 2024-03-30 17:42:06 +00:00
e9f21b3b0e 2.0 first commit 2024-03-30 15:38:34 +00:00
fff23bd477 Add sync_crosshairs_only parameter to create_subchart (#293) 2024-02-24 13:26:59 +00:00
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
8715ddae58 Added the marker_list function for setting multiple markers. 2024-02-14 16:03:17 +00:00
5861da2123 Added the render_drawings parameter to update
Added the `round` parameter to `vertical_span`
2024-01-21 14:42:54 +00:00
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
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
63b8c6bcf3 fix(abstract): fix f-string structure 2024-01-02 18:10:46 +08:00
89695717c2 feat(abstract): introduce other 4.1 PriceScaleOptions 2024-01-01 17:41:33 +08:00
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
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
c3645ef245 pandas ambigious hotfix 2023-11-02 11:41:03 +00:00
e587dd357c Legend hotfix 2023-10-31 22:57:09 +00:00
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
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
33be333b41 - legend 'text' parameter for displaying static text
- table 'resize' method
2023-10-09 17:30:40 +01:00
ab251a7600 implement table row click callbacks for individual cells
update docs
2023-10-04 19:32:46 +01:00
f5ad8613f4 - implement table header
- implement table background color, border color, border width, heading text colors and heading background colors
2023-10-02 19:11:18 +01:00
2bd4c7c037 Bug Fixes:
- Screen now defaults to the active screen rather than the `0` screen.
- `null` values given in chart data are now removed and replaced with whitespace.
- Closing the chart window now cleanly exits.
- Fixed a bug causing the `offset` parameter to be greater than `0` when there is no offset.
2023-09-29 12:03:49 +01:00
d43e7c24e7 Enhancements:
- Hotkeys can now use any character, and modifier keys are not required.
- Refactored the colors of the topbar, searchbox, toolbox, and widgets for consistency.
- Toolbox/interval refactoring and simplification.
- Histograms now show up in the legend, and will use shorthand notation by default (e.g 34k rather than 34000).
2023-09-24 15:09:45 +01:00
43eab9854d Modify hotkey implementation 2023-09-15 12:30:38 +01:00
f4dcb0d8fd - handled upper lowercase 2023-09-14 10:12:33 -05:00
2219b32bd6 - change var name 2023-09-14 10:01:35 -05:00
5b792fbaa2 - reverted arg order change
- switched to using event.key when no modifier
2023-09-14 09:52:05 -05:00
36fae9fe15 Merge branch 'louisnw01:main' into main 2023-09-14 09:25:22 -05:00
b1f007f6d0 Enhancements:
- added the `align` parameter to all topbar widgets, allowing for individual widgets to be placed either on the left or right hand side of the topbar.
- Disabled QtChart’s context menu by default.

Bug Fixes:
- The `screenshot` method now works for subcharts.
- Tables will still render if a `NoneType` is passed to them as a value.
- Qt and Wx charts no longer throw an error when using the toolbox.
2023-09-14 10:51:10 +01:00
c60a918bb7 - made modifier key optional
- handle multi character key names
2023-09-13 16:50:02 -05:00
555573b54b Enhancements:
- added the `create_histogram` method and the `Histogram` object.
- added the `round` parameter to `trend_line` and `ray_line`
- chart.set can now be given line data.

Bug Fixes:
- `NaN` values can now be given when setting data, and will leave a blank space in the data.
- `resize` will now change the chart wrapper’s size as well as the chart itself.
2023-09-04 20:29:15 +01:00
2ff9d985a8 Merge pull request #97 from jamesbaber1/main
Fixed numpy value error on string
2023-09-03 17:08:56 +01:00