Replies: 2 comments 2 replies
-
Do you mean the whole chart or a particular pane?
Yeah agree, since the size adjustments is done inside the library it would be good to have it. We have a getter for width of price scale already btw.
Don't we have something like that already? I thought you could subscribe on hover event externally (by adding an even listener to container), couldn't you? |
Beta Was this translation helpful? Give feedback.
-
Awesome, I have to use dom to check the width 😅
We're having crosshead |
Beta Was this translation helpful? Give feedback.
-
After few months working with
lightweight-charts
and many others charting lib, I need to face many custom types, and there are lots of issues regarding to it like #278, #408, #694,...etcThe problem comes from when we need to customize:
So we end up trying another charting library or finding a hacky way to do it
Which
lightweight-charts
, I figure out that we can do some customize by subscribing to its event and draw a layer on top of it, by doing so, we have lots of customizing space, ideas to build on top of it (Eg: Customize crossmark tooltip, mark with html supported, minimap,...)So I think we should add more subscriptions events so that the customization is more open. Few ideas on my mind:
By doing so, I think we can solve lots of issues by giving dev opportunities to hack around it. It likes photoshop with a customize layer on top of it
Of course if might come with some tradeoff, let's discuss it here
Beta Was this translation helpful? Give feedback.
All reactions