Jump to content
Software FX Community

Overlapping X-Axis lables


User (Legacy)

Recommended Posts

Hi,

I am trying to resolve a very strange problem with overlapping labels on the

x-axis. See the attached screenshot (chart.png).

Major Unit is set to Auto but the x-axis labels (they are quite long) are

drawn as if Major Unit is 1.

The values displayed on the X-axis are as follows (if they matter).

0

973069

1946138

2919206

3892275

4865344

5838413

6811481

7784550

8757619

9730688

I have also exported and attached a chart file (chart.chd).

Any suggestions what's wrong with the chart and what can I do to make the

chart display "normally"?

Thanks in advance,

Serge

Link to comment
Share on other sites

I'm unable to reproduce this problem.

I read the attached chart file into a similar size chart and I get no

overlapping of labels. I tried resizing the chart to many sizes but I never

got the problem to occur.

In your chart, does the overlapping disappear when you resize the chart area

ever so slightly ?

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

I think I have found the problem.

It occurs if the following 2 conditions are true:

- chart has CSE_FASTLEGENDS style

- first x-axis label is much shorter than the others (e.g. 0 vs 1111111)

Removing CSE_FASTLEGENDS style fixes the problem.

So I have a question... what will be consequences for an app of not setting

this style?

Serge

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...