Problem with property "PieSliceDist" in Chart's
Posted: Mon Sep 11, 2006 7:18 am
If to set property "PieSliceDist" all pie's of the diagram become one color:
Code: Select all
with XLS.Sheets[0].AddChart do begin
Col1 := 5;
Col2 := 11;
Series[0].Values := '''1''!$A$2:$A$10';
Series[0].Category := '''1''!$B$2:$B$10';
PlotArea.ChartType := xctLine;
PlotArea.HasLegend := true;
PlotArea.Is3D := true;
PlotArea.ChartStyle.VaryColors := True;
Series[0].HasDefDataPoint := true;
Series[0].DefDataPoint.PieSliceDist := 10;
end;