ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Why is the X axis showing more dates than just the data points?
Posted by David Thielen [Windward Studios] on May-28-2018 03:17
Attachments:
Hi all;

I am working on some code I inherited.

The code is calling Layer.setXData(arrayDates); where arrayDates holds 5 Date objects, set to 9 Dec 17, 9 Jan 18, 9 Feb 18, 9 Mar 18, 9 Apr 18.

The code does not call Axis.setLabels() or Axis.setLabels2().

Why are the X axis labels written for every day of the month instead of one per month (and one per data point)?

thanks - dave
X-axis.png

  Re: Why is the X axis showing more dates than just the data points?
Posted by Peter Kwan on May-28-2018 17:23
Hi David,

Please refer to my other post to your other enquiry for my response:

http://www.chartdir.com/forum/download_thread.php?site=chartdir&bn=chartdir_support&thread=1527449114

Regards
Peter Kwan