AxisValuesFormat has no effect
Posted: Tue Mar 02, 2010 6:47 pm
Hello,
I am trying to format the x-axis labels in a simple line chart as '0.00' to produce for example 1.23 or 6767.22. Problem is the BottomAxis.AxisValuesFormat does not seem to be doing anything for this particular chart. It's strange because it works for other charts that I've created. The numbers on the x-axis are very long, e.g. 2009.0138888889 - do they have to be truncated? I thought the AxisValuesFormat would remove the need for that. I've tried '0.##', '#.##', everything. Also tried setting the BottomAxis.Increment to 0.01.
I've attached a screen cap to demonstrate.
Many thanks, Doug
I am trying to format the x-axis labels in a simple line chart as '0.00' to produce for example 1.23 or 6767.22. Problem is the BottomAxis.AxisValuesFormat does not seem to be doing anything for this particular chart. It's strange because it works for other charts that I've created. The numbers on the x-axis are very long, e.g. 2009.0138888889 - do they have to be truncated? I thought the AxisValuesFormat would remove the need for that. I've tried '0.##', '#.##', everything. Also tried setting the BottomAxis.Increment to 0.01.
I've attached a screen cap to demonstrate.
Many thanks, Doug