Visualize Yew
This is a simple crate to help you visualize your data in the browser using Yew. It is a wrapper around the yew crate that provides a simple API to create charts.
Note: This crate is NOW available for use, all charts are customizable to your liking.
New/Upcoming Features:
- Customizable colors for all charts
- Customizable labels for all charts
- Customizable legend for all charts
- Customizable stroke width for line chart
- Customizable tooltip for all charts
This crate is built using the Yew framework and uses HTML5 canvas to render the charts.
Features
-
PieChart
-
LineChart
-
BarChart
-
DoughnutChart
Usage
Add the following to your Cargo.toml:
[]
= { = "0.20.0-alpha.1", = ["PieChart"] }
Example
use ;
License
This project is licensed under both the MIT license and the Apache License (Version 2.0).
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, shall be dual licensed as above, without any additional terms or conditions.
Acknowledgements
This project is inspired by the Chart.js library for JavaScript.