Skip to content

thumbert/flutter_web_plotly

Repository files navigation

flutter_web_plotly

Plotly for Flutter web

Why

Flutter libraries for drawing charts are relatively immature as of mid 2021. If you are only targeting the web, a great solution is to use the feature full Plotly javascript library.

Getting Started

See the example folder for usage.

alt text

In your own project, inside your web/ folder create a js/ folder and copy theplotly-latest.min.jsfile inside.

Edit your index.html file and add

  <script defer src="main.dart.js" type="application/javascript"></script>
  <script src="js/plotly-latest.min.js"></script>

to your <head> element.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published