Problem Chart formatting
Posted: Fri Jun 22, 2007 11:59 am
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:
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???
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;
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???