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

Request for an example using lightweight-charts library #30

Open
jik0730 opened this issue Feb 5, 2023 · 0 comments
Open

Request for an example using lightweight-charts library #30

jik0730 opened this issue Feb 5, 2023 · 0 comments

Comments

@jik0730
Copy link

jik0730 commented Feb 5, 2023

Hi, thanks for all of these works. I am a big fan of Pynecone framework.

I am using Pynecone for building chart web-app that uses lightweight-charts as a charting framework, which is built by TradingView. I am quite new to react so after following the guide in docs about wrapping react I was not able to launch any chart from the library. It would be really helpful to have any example of using lightweight-charts with datasets.

I have tried this but not working (it says SyntaxError: Cannot use import statement outside a module):

class TradingView(pc.Component):
    library = "lightweight-charts"
    tag = "ColorType"

Thanks.

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

No branches or pull requests

1 participant