Skip to content
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

Show Dynamic values in legend #338

Open
tradinworld opened this issue Apr 21, 2024 · 3 comments
Open

Show Dynamic values in legend #338

tradinworld opened this issue Apr 21, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@tradinworld
Copy link

tradinworld commented Apr 21, 2024

Description

  • Is it possible to show dynamic values to legend?
  • I know lines, OHLCV are currently shown in legend. But how to show dynamic/arbitrary values in the legend?
  • Context: Chart gets ugly if I use more than 3 or 4 markers at the same time. It would be nice if there is a way to show the marker values as a legend instead.

Thanks for your amazing work here!

Code example

chart.legend(visible=True, data={'enterTrade': True}, time=time)

Method of implementation

No response

@tradinworld tradinworld added the enhancement New feature or request label Apr 21, 2024
@tradinworld tradinworld changed the title Show Dynamic values to legend Show Dynamic values in legend Apr 21, 2024
@tradinworld
Copy link
Author

@louisnw01 FYI , Thanks!

@mehboob-dev
Copy link

Hey @tradinworld,

Seems like you got the solution, can you share the solution over here.

@tradinworld
Copy link
Author

@mehboob-dev sorry for late reply. i am yet to find solution for this. i think dynamic updates to legend is not supported for marker(), it is currently supported only for lines and default ohlcv values.
so i was just proposing to add a new feature to show marker values in the legend .
thanks !

@louisnw01 Appreciate your help on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants