Hi,
I get an access violation, when I try to set the property DataLablel.
Here's the code:
XLS.Sheets[0].Charts.Clear;
with XLS.Sheets[0].AddChart do
begin
// Position des Charts
Col1:=0;
Col2:=10;
Row1:=9;
Row2:=25;
Series[0].Values:='Sheet1!$B$2:$B$7';
Series[0].Category:='Sheet1!$A$2:$A$7';
Series[0].DefDataPoint.DataLablel:=[cdlValue]; //<-- Access Violation
end