Function move_chart_item
pub fn move_chart_item<T>(
current: Option<T>,
items: &[T],
action: ChartNavAction,
) -> Option<T>Expand description
Move through a filtered list while preserving the caller’s original item indices (for example, skipping invalid or zero-valued data).