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
use super::*;

/// A handler registered on a chart.
///
/// The handler is shared: registering the same closure twice runs it
/// twice, which is what a user expects from two separate registrations.
pub type EventHandler = Rc<dyn Fn(&ChartEvent)>;