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