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";