pub fn replace_chart_data(
chart_xml: &[u8],
workbook: &[u8],
data: &ChartData,
) -> Result<(Vec<u8>, Vec<u8>)>Expand description
Stage replacement chart caches and only their formula-owned workbook cells. The caller publishes both returned parts together after proving package owners. Original root, plot, axes, legend and surviving series formatting stay exact.