Jump to content
Software FX Community

Date on Axis X is showing last day of month instead of actual data from table.


harrinbw

Recommended Posts

I have a chart that plots numbers with an x axis of dates. Every date in my data table is the first day of each month ex. 4/1/2010, 5/1/2010, 6/1/2010, etc...

When the chart displays it plots the x axis as the last day of the month ex. 4/30/2010, 5/31/2010, 6/30/2010, etc... How do I get the chart to plot the actual date from the table.

Link to comment
Share on other sites

The dates displayed in the X-Axis correspond to a range, they do not necesarilly match the dates in your data. You can have data comming every day and yet have labels in the X-Axis displaying months.

The end-of-the-month date that you see indicates when the month of data ends.

There are basically 2 paradigms to label the X-Axis:

- As a range, independent of the data points (except for the range).

- As each individual point.

If you want your labels to be those of each specific point, you must then assignthen as labels and not as X-values (default) when you do your binding (see FieldUsage.Label for details). Notice that doing this will eliminate all the automatic adjusting of label steps (days, moths, years) in the X-axis.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...