Page 1 of 1

Problem Chart formatting

Posted: Fri Jun 22, 2007 11:59 am
by HarryBo
Hi,

i've got several problems with Charts, especially when i want to format something.

1. Its not possible to change the LineWidth and Marker in a LineChart.
I tried it the following way:

Code: Select all

Series[Series.Count - 1].HasDefDataPoint := True;
Series[Series.Count - 1].DefDataPoint.LineFormat.LineWeight := clwWide;
Series[Series.Count - 1].DefDataPoint.LineFormat.LineColor := xcAutomatic;
Series[Series.Count - 1].DefDataPoint.LineFormat.Automatic := False;

Series[Series.Count - 1].DefDataPoint.MarkerFormat.MarkerStyle := cmsNone;
Series[Series.Count - 1].DefDataPoint.MarkerFormat.Automatic := false;
Strange about: it works, but only with the first Series! Any further series ignore this settings!

2. I want to change the font size of the axis labels. The font itself, the style and so on can be changed, but not the size! It doesn't matter which font i choose, the size is always 14,5 points!
I've tried it the same way as in the CreateCharts Sample, but in the sample is the same behaviour!

Can you tell me what's wrong about???

Posted: Thu Sep 04, 2008 1:16 am
by Rasilon
I am having the same problem.

I have multiple series displayed on a line chart and need to be able to select the color used for each series.

I have the appropriate code for each series, but only the first series ever actualy displays using the color that i specify.

Any update on this Lars?