# Charts-rs **Repository Path**: letucrm/Charts-rs ## Basic Information - **Project Name**: Charts-rs - **Description**: Charts-rs是纯rust实现简单方便的形式生成数据图表,支持svg与png两种方式的输出,性能非常高效svg的生成少于10ms,而png也在50ms以内 - **Primary Language**: Rust - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: https://www.oschina.net/p/charts-rs - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2023-10-16 - **Last Updated**: 2023-10-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # charts-rs [中文](./README-zh.md) `charts-rs` is a charting library for rust. It's simple and fast. [![Crates.io][crates-badge]][crates-url] [![MIT licensed][apache2-badge]][apache2-url] [](https://github.com/vicanso/charts-rs/actions/workflows/ci.yml) [crates-badge]: https://img.shields.io/crates/v/charts-rs.svg [crates-url]: https://crates.io/crates/charts-rs [apache2-badge]: https://img.shields.io/badge/license-Apache2-blue.svg [apache2-url]: https://github.com/vicanso/charts-rs/blob/main/LICENSE ## Overview `charts-rs` is simpler way for generating charts, which supports `svg` and `png` format and themes: `light`, `dark`, `grafana`, `ant`, `vintage`, `walden`, `westeros`, `chalk` and `shine`. The default theme is `light`. These charts are supported: `Bar`, `HorizontalBar`, `Line`, `Pie`, `Radar`, `Scatter`, `Candlestick`, `Table` and `MultiChart`. `Apache ECharts` is popular among Front-end developers, and `charts-rs` reference it. Developers can generate charts almost the same as `Apache ECharts`. ## Themes [themes](./theme.md) ## Feature - Multiple themes for all charts - Load font family from ttf or otf - Smooth, fill, mark point and mark line for line chart - Multiple legends for all charts, for example: `round rect`, `circle` and `rect` - Supports two y axises, which are useful - New from json is simple and easy - Svg and png format support more available scenarios - Web json editor to try using more options by one step ## Demo You can try to use the web demo page, it's simple and useful. Charts Web Demo Page: [https://charts.npmtrend.com/](https://charts.npmtrend.com/) Charts Web Source: [https://github.com/vicanso/charts-rs-web](https://github.com/vicanso/charts-rs-web)