I have an excel template that I use which is per-formatted with a “Data” tab and a “Graph” tab. My .Net program writes values to the data tab and the graph tab picks up the data and charts it. The only thing I’m using aspose for is to load the file and write the data from a database to the data tab. Then I save the file using aspose. The issue I’m having is the graph I’ve created in the template doesn’t have the “Trendline” equation and R-squared value checked. (I don’t want them to display). However after writing the data and saving the file (as a new file), when looking at the graph the “Trendline” stuff shows up. In the attached image (Capture.jpg) you’ll see what I’m talking about. In Capture2.jpg I show that the equation and R-squared is checked after saving the file. The attachment OLAP_Item_Analysis.xlsx is the template I use to load the data. The attachment Southwest_05100006514.xlsx is the file after loading the data and saving with aspose. To demonstrate that nothing is wrong with the template, you can take the data in Southwest_05100006514.xlsx E5:J108 and copy/paste to the OLAP_Item_Analysis.xlsx data tab and you’ll see the equation and R-squared doesn’t show up. The attachment Code.txt is the code I use to load the file, populate the data tab and save the file. Any help would be appreciated.
Landon
Hi,