euv-chart 0.32.9

A high-performance charting library for the euv framework, providing an ECharts-compatible option model with WebGPU, WebGL2, and Canvas2D backends behind one API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// The number of milliseconds in a second.
///
/// The engine's tween counts in seconds and the chart's API counts in
/// milliseconds, and this is where the two meet.
pub(crate) const MILLISECONDS_PER_SECOND: f64 = 1000.0;

/// The key of the animated value inside a data point.
///
/// A data point that is an object carries its value under this key, the
/// way ECharts writes it.
pub(crate) const DATA_VALUE_KEY: &str = "value";