DonutSeries
DonutSeries
Hi,
I try to use DonutSeries with style like https://www.steema.com/uploads/products/Pie_Chart.png
but still ineffectual. Is it possible?
I try to use DonutSeries with style like https://www.steema.com/uploads/products/Pie_Chart.png
but still ineffectual. Is it possible?
Re: DonutSeries
Hello,
Yes, use SliceHeight to vary heights.
Eg.
series1.FillSampleValues();
Series1.SliceHeight[0]:= 1000;
Regards,
Marc Meumann
Yes, use SliceHeight to vary heights.
Eg.
series1.FillSampleValues();
Series1.SliceHeight[0]:= 1000;
Regards,
Marc Meumann
Steema Support
Re: DonutSeries
Ok thanks and one question more. So we have Hover with redline, How I can change redColor to some else color
- Attachments
-
- Untitled.png (10.18 KiB) Viewed 15773 times
Re: DonutSeries
Hi,
When I pass data (2,1,1,15) to DonutSeries looks not expected. Here is example
How I can fix it?
When I pass data (2,1,1,15) to DonutSeries looks not expected. Here is example
How I can fix it?
- Attachments
-
- DonutSeries.rar
- (11.67 KiB) Downloaded 765 times
Re: DonutSeries
Hello,
It's not a trivial problem that would probably need a complete redesign of the series to be fixed.
The only workaround I can think on at the moment is to change the rotation of the pie:
http://bugs.teechart.net/show_bug.cgi?id=935
http://bugs.teechart.net/show_bug.cgi?id=939
You can change this property:n2n wrote:So we have Hover with redline, How I can change redColor to some else color
Code: Select all
Chart1.Legend.Selected.Hover.Font.Color:=clBlue;
I'm afraid I have to confirm this is a well known and difficult to solve problem with the TPieSeries in some situations.n2n wrote:When I pass data (2,1,1,15) to DonutSeries looks not expected.
It's not a trivial problem that would probably need a complete redesign of the series to be fixed.
The only workaround I can think on at the moment is to change the rotation of the pie:
Code: Select all
DonutSeries1.RotationAngle:=50;
http://bugs.teechart.net/show_bug.cgi?id=939
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: DonutSeries
Code: Select all
DonutSeries1.RotationAngle:=50;
Code: Select all
DonutSeries1.Rotate(358);
thanks.
- Attachments
-
- 3.png (3.98 KiB) Viewed 15729 times
-
- 2.png (4.89 KiB) Viewed 15725 times
Re: DonutSeries
Hello,
Note OpenGL gives a better result. Ie:
Note OpenGL gives a better result. Ie:
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: DonutSeries
Ok thanks. Can you give some example please?
Re: DonutSeries
Hello,
I also added this
I took your example form here.n2n wrote:Can you give some example please?
Code: Select all
uses TeeGLCanvas;
procedure TForm1.FormCreate(Sender: TObject);
begin
//Activate OpenGL
Chart1.Canvas:=TGLCanvas.Create;
Chart1.Aspect.Elevation:=40;
//Show Pen to better see the slices
DonutSeries1.Pen.Visible:=true;
//Make the Pen thinner
Chart1.Draw;
DonutSeries1.PiePen.Width:=0;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |