Page 1 of 1

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

Posted: Mon Sep 13, 2004 9:27 pm
by 4207540
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??

Posted: Tue Sep 14, 2004 7:31 am
by Pep
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;