-
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Features: Area & Bar series types, Grouping [Line,Histogram,Area,Bar] series under 1 Legend item using optional 'group' and 'legend_symbol' parameters. #473
base: main
Are you sure you want to change the base?
Conversation
Use existing line/histogram logic to implement area charts
Add methods to plot area chart.
Fix: Area line coloring Feat: Implement bar series
Feat: Implement bar series
Feat: Implement Area and Bar series types
formatting
Fix: Bar update method
Add functionality to group lines under a single legend item following example shown by @esteban2006 louisnw01#452 (comment)
Implement logic to handle LegendGroup creation when creating a line series.
Add group parameter (str) to make a line appear in the legend under a LegendGroup
Legend group
Add legend_symbol, group to series types
Cleaned up, restructured for easier interaction adding/removing
Fix wick position for combined candles
For those who think the default candles are too thick.
Enhance flexibility by enabling the configuration of lineStyle, lineWidth, and the shape of individual bars through corresponding columns in the DataFrame, similar to the existing options for color, borderColor, and wickColor. Also improve performance by separating data aggregation from rendering.
…ightweight-charts-python into plugin-CustomCandles
Plugin custom candles
@EsIstJosh I've tried installing your fork, but it'm experiencing the following issue:
I've installed it using the following command with Python 3.11.4: |
I think it has to do with me having an underscore after this : ModuleNotFoundError: No module named 'lightweight_charts_', In my setup I have the project in my working directory so I could just reference it like that but it should probably be renamed back. |
Alright I'll make a local edit until you've changed it in the repo. Thanks for the reply! from lightweight_charts_.polygon import PolygonAPI To from .polygon import PolygonAPI Fixed it. |
`
import pandas as pd
from lightweight_charts import Chart
if name == 'main':
chart1 = Chart(inner_width=0.333, inner_height=1,position='left',debug=True)
chart2 = chart1.create_subchart(position='left' , width=0.333, height=1)
chart3 = chart1.create_subchart(position='left' , width=0.333, height=1)
`