I don’t know if you’ll be able to use one of the office libraries to add a chart, and if you can, I suspect it will be more effort than it’s worth, if that’s what you’re looking to do. As we’ve said, create a template Excel spreadsheet with the chart already there reading a table of data, and use ignition to replace the table of data and save as another file.