Jump to content
Software FX Community

bar chart x axis label bug! how to deal with it


zhyluopro
 Share

Recommended Posts

I create a bar chart but the x axis label behavior is so wired.

When I set the time range of the report to less than 10 bars it shows all right. But when I change the time range to make it show more than 10 bars, the x axis label show in erratic manner. Please check the attached picture. There are two major errors:

1. the display of x label is in strange manner, how to set it to show in even step manner?

2. why the last label show "Feb/10 " even the maximum date from data source is only "05/2009"? some ghost there?

 

How to handle the problem?

The only code I change is:

 chart.DataType[0]= DataType.Label;

chart.AxisX.LabelsFormat.Format = SoftwareFX.ChartFX.AxisFormat.Date;   chart.AxisX.LabelsFormat.CustomFormat = "MMM/yy";

 

 

Link to comment
Share on other sites

  • 1 month later...

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.

 Share

×
×
  • Create New...