Hi,
I have some problems with the TDonutseries. Please see the attached image.
1) How do I make the grey hole of the TDonutseries become white?
2) How do I make the marks seperate? As shown on the attached image the marks are loacted on top of one another. I'm using the AutoMarkPosition := true but it doesn't help
3) As shown on the image at the marks "40208 Tørre fiber" and "40208 Udbøjning" the red part of the TDonutseries looks strange - how can I make it look OK?
I'm using Teechart V.8.05.50522 for Delphi 2007, WIn 32. Would an upgrade help?
Problems with TDonutSeries
Problems with TDonutSeries
- Attachments
-
- steema donut problem.JPG (86.79 KiB) Viewed 5515 times
Re: Problems with TDonutSeries
Hi Friis,
For more information on how to set custom marks position with TeeChart VCL please read this thread.
You can hide the shadow as follows:Friis wrote:1) How do I make the grey hole of the TDonutseries become white?
Code: Select all
Series1.Shadow.Visible:=false;
To check if marks overlap you can do something as what Pep suggested here. Thsi is a TeeChart for .NET example but the same is possible with the VCL version.Friis wrote:2) How do I make the marks seperate? As shown on the attached image the marks are loacted on top of one another. I'm using the AutoMarkPosition := true but it doesn't help
For more information on how to set custom marks position with TeeChart VCL please read this thread.
It's probably the same than hereFriis wrote:3) As shown on the image at the marks "40208 Tørre fiber" and "40208 Udbøjning" the red part of the TDonutseries looks strange - how can I make it look OK?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Problems with TDonutSeries
Thank you for a fast reply
Regarding question number 3) Would an upgrade help or is this problem still unresolved?
A new question: In the chart you will see that the parts of the donutserie is located in more or less random order with respect to size?. Is it possible to relocate the order of each part so that the order of each part is a function of size? For instance, part number 1 is the smallest part, part number 2 is the second largest part etc...
Regarding question number 3) Would an upgrade help or is this problem still unresolved?
A new question: In the chart you will see that the parts of the donutserie is located in more or less random order with respect to size?. Is it possible to relocate the order of each part so that the order of each part is a function of size? For instance, part number 1 is the smallest part, part number 2 is the second largest part etc...
Re: Problems with TDonutSeries
Hi Friis,
Note that a workaround is to use the OpenGL canvas. You could give it a try.
If you want to reorder the slices, you can do it as follows:
I'm afraid it's still open.Friis wrote:Regarding question number 3) Would an upgrade help or is this problem still unresolved?
Note that a workaround is to use the OpenGL canvas. You could give it a try.
By default, the Donut and the Pie series slices are drawn in the order they are added, regardless on they size. The first added value is drawn starting horizontally in the right side and the slice is drawn anticlockwise. The second added value is drawn starting where the first slice ended and it's drawn also anticlockwise.Friis wrote:A new question: In the chart you will see that the parts of the donutserie is located in more or less random order with respect to size?. Is it possible to relocate the order of each part so that the order of each part is a function of size? For instance, part number 1 is the smallest part, part number 2 is the second largest part etc...
If you want to reorder the slices, you can do it as follows:
Code: Select all
Series1.YValues.Order:=loAscending;
Series1.Repaint;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Problems with TDonutSeries
Hi Yeray,
Concerning your comment:
Concerning your comment:
How do I use the method using OpenGL canvas ??I'm afraid it's still open.
Note that a workaround is to use the OpenGL canvas. You could give it a try.
Re: Problems with TDonutSeries
Hi Friis,
Add the TeeOpenGL unit to your uses clause and create the new canvas:Friis wrote:How do I use the method using OpenGL canvas ??
Code: Select all
Chart1.Canvas:=TGLCanvas.Create;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |