//! Application state trait for UI synchronization.
//!
//! UI components need to read from centralized app state. Instead of
//! depending on a concrete AppState type, components accept any type
//! implementing [`ChartAppState`].
use crate;
/// Trait for application state that chart UI components can read from.
///
/// Library consumers implement this on their app state type to connect
/// the UI components to their data layer.