Legend group#1
Merged
Merged
Conversation
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
|
Hi there @EsIstJosh thank you for the effort, I have seen your post a bit late but from the screenshot above, that was a very nice approach to combine a solution for both necesities, grouping and one name for multiple lines. thank you! Now I still belive that having a way to group names for indicators such BB, super trend and which a user could individually manipulate values and other settings from the chart would be awesome, keep up the good work, guys! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add functionality to group lines under a single legend item, following example shown by @esteban2006 in
issue louisnw01#452 : (louisnw01#452 (comment))
`import pandas as pd
import lightweight_charts_
import time
if name == 'main':
# Load OHLCV data
df = pd.read_csv('./ohlcv.csv')
`