Wrapping the series mark text value on a tpieseries chart...

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Chris_V
Newbie
Newbie
Posts: 3
Joined: Sun Nov 04, 2001 5:00 am

Wrapping the series mark text value on a tpieseries chart...

Post by Chris_V » Mon Sep 13, 2004 9:27 pm

I am using the teechart component that comes with delphi 6

I have an issue I am trying to overcome with the width of the marks in a
teechart.

I create a chart component and series on the fly according to Db sql
results, then create a jpg image of the chart to imbed into an html report.
I set the size of this image by:

Rect.Left := 0;

Rect.Top := 0;

Rect.Right := 650;

Rect.Bottom := 480;



My current issue is, where the label value of a pieseries is quite long, it
makes the pie chart itself look like and egg, because the space for the mark
is used before the actual chart can begin.



Does anyone know of a way to wrap the seriesmark text value??

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Sep 14, 2004 7:31 am

Hi Chris,

you should post this question into the VCL forum as it's related with Delphi and TeeChart VCL version.
Does anyone know of a way to wrap the seriesmark text value??
To change the Text in the Marks you can use the OnGetMarkText event. See the help file for details.
Also, to make the Chart rounded you can use the Circled property :
Series1.Circled := true;

Post Reply