Page 1 of 1

Problem with the x-axis

Posted: Thu Sep 25, 2014 9:15 am
by hallo888
Hi,

I have set the default range of the x-axis to be from 0-700000 via x-axis.setRange(0,700000). The x-axis is filled with ticks to an extend that i am not able to see individual ticks, just a large rectangle at the bottom. The labels also turn out to be a line of numbers below the rectangle with no spacing in between. Seems like alot of ticks. May i know what are the possible reason for this to happen? I have already set axis properties such as MajorDiv and so on.

Please advise.

Thanks!

Re: Problem with the x-axis

Posted: Thu Sep 25, 2014 9:26 am
by ArctionPasi
Set xAxis.AutoDivSpacing = true.

Re: Problem with the x-axis

Posted: Thu Sep 25, 2014 9:38 am
by hallo888
The AutoDivSpacing was already set to true. By the way, the axis has been fixed it suddenly, have not changed anything since last post.

Thanks for your prompt replies.