pub fn build_chart(s: &Session, p: &Value) -> Result<(usize, Chart)>
The chart insert.chart would insert for these params, without inserting it: the sheet it goes on and the chart (previews in the Recommended Charts dialog).
insert.chart