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
12
13
14
15
16
17
/// The reasons a map cannot be read.
///
/// The errors say what is wrong with the *data*, because the data is
/// the one thing the developer can fix: a map that is not drawn is
/// never a rendering problem.
#[derive(Clone, Debug, Default, PartialEq)]
pub enum GeoError {
    /// The document has no `type` field.
    #[default]
    MissingType,
    /// The document is of a kind this crate does not read.
    UnsupportedType(String),
    /// A feature has no geometry.
    MissingGeometry,
    /// The geometry cannot be read.
    MalformedGeometry(String),
}