pub fn parse_bar_data( bar_obj: &mut Value, context: &ParseContext<'_>, ) -> Result<Box<Bar<f64, f64>>>