Fully interactive Plotly in a WebView #5316
gerald-brandt
started this conversation in
Show and tell
Replies: 1 comment
-
Start aiohttp on a random port, so multiple programs can run. Also, just a check to make sure I can change the graph colors. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I really wanted n interactive Plotly, with Zoom, live updates, hover values, etc. Since my work was for the web, I went the Webview route. So, whatever platform is supported by WebView, is supported by this.
The code was tested with line chart, pie chart, and gauge. Other plots may need more code to work correctly.
This code is free for use by anyone for any purpose (MIT License). All I ask is that you post improvements here for everyone to use.
This code contains the PlotlyWebView class, and demo code for line, pie, and gauge. I'm a C++ coder, Python and Javascript are not my main languages.
main.txt
Beta Was this translation helpful? Give feedback.
All reactions