Hi All,
I have a problem with a disappearing label. Initially, tPointSeries is used to display some data:
Then, the user chooses to change it to a bar chart, which invokes only this code:
ChangeAllSeriesType( Chart, TBarSeries );
However, the 4th X-axis label (ABC Chemical Ltd) disappears:
If ChangeAllSeriesType is then used to change it back to a Point series, the label re-appears, and it also appears if changed to a Line series.
Also, this problem is happening on two different PCs, but not on a third, where the label appears OK. So I'm guessing it's a video driver issue. Is there anything that can be done to resolve it (some property setting)? TIA!
Problem with diappearing labels
Hi.
You might try the following things:
1) Decrease the separation between labels. This can be done by setting bottom axis LabelsSeparation property to small value (for example 2):
2) Another thing you might try is rotate axis labels 90deg anti-clockwise to allow more space for each label:
3) Additionally, you can also experiment with multiline labels or enable the alternate labels:
Using all these tricks you should be able to increase the number of pixels for individual axis label(s).
You might try the following things:
1) Decrease the separation between labels. This can be done by setting bottom axis LabelsSeparation property to small value (for example 2):
Code: Select all
tChart1.Axes.Bottom.LabelsSeparation := 2;
Code: Select all
tChart1.Axes.Bottom.LabelsAngle := 90;
Code: Select all
tChart1.Axes.Bottom.LabelsAlternate := true;
Marjan Slatinek,
http://www.steema.com
http://www.steema.com