Hey,
I have found another funny bug...
You can find the file Project1.zip I have uploaded today.
When I clone a TPieSeries in a 3D TChart, the depth of each slices is inverted! Another clone to a TQRChart produce the same artifact. But (even better) when I close the third form (containing the TQRChart) the second TChart is now correctly displayed. I can open another time the third form to have a good copy of the first graph.
Any idea for a workaround?
Alain
CloneChartSeries and 3D PieSeries
I have found a way:
After cloning the TPieSeries, if the 3DView is active then I free it and clone it a second time.
Ask me if you have a better solution!
Code: Select all
CloneChartSeries(Series1).ParentChart := Form3.QRChart1.Chart;
if Chart1.View3D
then
begin
Form3.QRChart1.Chart.FreeAllSeries(nil);
CloneChartSeries(Series1).ParentChart := Form3.QRChart1.Chart;
end;
Ask me if you have a better solution!
Hi Alain,
Yes you are right. It seems that the pie series aren't cloned fine or something. I've added this to the wish list to be revised for next releases (TV52014170).
I've tried forcing a chart repaint but it has no effect, so you workaround seems to be the best.
Yes you are right. It seems that the pie series aren't cloned fine or something. I've added this to the wish list to be revised for next releases (TV52014170).
I've tried forcing a chart repaint but it has no effect, so you workaround seems to be the best.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |