PlotlyChart #3747
Replies: 3 comments
-
Matplotlib and Plotly charts are static in Flet. Internally, they just render the provided figures as images. |
Beta Was this translation helpful? Give feedback.
-
Yes, you can use the WebView control in Flet to display an interactive Plotly chart. The WebView allows you to embed HTML content, including Plotly plot figures, making it a great option for full interactivity. However, please note that the WebView control currently supports iOS and Android only, so this solution won't work on Windows or other platforms. If you're targeting those supported platforms, you can generate the Plotly chart as an HTML string (using plotly.io.to_html) and pass it to the WebView control for display. |
Beta Was this translation helpful? Give feedback.
-
Looking forward to webvie(desktop and browser versions ), which can solve this big problem |
Beta Was this translation helpful? Give feedback.
-
Duplicate Check
Describe the requested feature
I tried using the Plotly chart, but it seems that the interactivity feature is not working.
Can this issue be solved to make it possible to fully integrate Plotly with flet?
Code example to reproduce the issue:
Suggest a solution
No response
Screenshots
No response
Additional details
No response
Beta Was this translation helpful? Give feedback.
All reactions