-
Notifications
You must be signed in to change notification settings - Fork 56
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
Second vertical axis not appearing (leftPriceScale) #21
Comments
Hi, try my fork with the updated distribution of lightweight charts. |
@tomlister Thanks for your message. I'm a bit confused since https://github.com/Kaktana/kaktana-react-lightweight-charts/blob/53cb753/package.json#L25 says 3.3.0. This is my approach for now: tradingview/lightweight-charts#200 (comment) But if I find that lacking, I'll check out your repo. Thanks. P.S. I'm curious if you have a solution to tradingview/lightweight-charts#742 |
It's because they forgot to rebuild their dist. So version 2 is still being shipped on npm. Not sure I'll take a look for you soon |
@tomlister Interesting. Thanks. |
@tomlister Hey! I tried your forked approach and used your library. However, I cannot use the priceScaleId: "left", just like ryancwalsh was saying. Hope I can hear from you. Thanks in advance. |
Yep I was able to use it iirc. let me check my code. |
Thanks a lot. I am not sure what I am doing wrong. Edit: I am also forcing the install with npm --legacy-peer-deps since I am using "react": "^17.0.1". Then I have:
where:
and
Maybe this will give a little more context. |
@tomlister were you able to find your implementation? |
+1 to this issue |
Thank you so much for offering this amazing library!
I was very excited to try the TradingView library and was surprised that it wasn't built in React, so I was relieved to see that you created this React wrapper. :-)
Describe the bug
options
object that will be used here:kaktana-react-lightweight-charts/src/kaktana-react-lightweight-charts.js
Line 144 in 53cb753
priceScaleId: "left"
is not working.To Reproduce
See https://codesandbox.io/s/stoic-northcutt-j9ti9?file=/src/App.tsx
Does kaktana-react-lightweight-charts wrapper not honor left vertical axis? Or am I doing something wrong?
(https://jsfiddle.net/3yeszpt5/ works without the wrapper.)
Expected behavior
I should see 2 vertical axes, like at https://jsfiddle.net/3yeszpt5/.
Thank you so much for your help!
The text was updated successfully, but these errors were encountered: