Adding a chart to a sheet

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
Saguaro
Posts: 7
Joined: Sun Jan 19, 2014 1:14 am

Adding a chart to a sheet

Post 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
Saguaro
Posts: 7
Joined: Sun Jan 19, 2014 1:14 am

Re: Adding a chart to a sheet

Post 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.
Post Reply