Problem Chart formatting

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
HarryBo
Posts: 2
Joined: Thu Jun 21, 2007 7:30 am

Problem Chart formatting

Post 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???
Rasilon
Posts: 2
Joined: Thu Sep 04, 2008 1:09 am

Post 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?
Post Reply