Skip to main content

read_chart_data

Function read_chart_data 

Source
pub fn read_chart_data(chart_xml: &[u8]) -> Result<(ChartKind, ChartData)>
Expand description

Project one supported chart family and its cached data without changing source. Sparse numeric cache entries remain NaN, and sparse labels remain empty. Unsupported plots and incompatible category vectors return contextual errors.