pub fn validate(chart: &Chart) -> Result<(), Vec<Violation>>
Validate a chart, returning every violation found.