Page 1 of 1

Adding a chart to a sheet

Posted: Wed Jan 22, 2014 11:06 pm
by Saguaro
I cannot add a chart to a sheet. My old code used in TXLSReadWriteII4 can be compiled, but it returns at error an runtime. I used TSheet(XLS.Sheets).AddChart

Re: Adding a chart to a sheet

Posted: Thu Jan 23, 2014 8:31 pm
by Saguaro
Hello,

I managed to draw a chart for xls files, however, everything works fine, except when adding series to the chart. When doing this, I get an error.

I just need to draw a simple line chart, I does not matter if it is for xls or xlsx files. But I did not find how to draw a chart using Drawing for TXLSReadWriteII5.