ViewXY formatting axis
Posted: Thu May 14, 2015 5:11 pm
I need to be able to have my xAxis configurable to:
-Auto
-Scientific Always
-Decimal Always (configurable decimal places)
Im running into an issue, when I use "D" for a format specifier, the chart crashes.
When I use "00.00" (supposed to be two before and two after the decimal) it seems ignored. Am I missing something?
Thanks.
Produces:
-Auto
-Scientific Always
-Decimal Always (configurable decimal places)
Im running into an issue, when I use "D" for a format specifier, the chart crashes.
When I use "00.00" (supposed to be two before and two after the decimal) it seems ignored. Am I missing something?
Thanks.
Code: Select all
xAxis.ValueType = AxisValueType.Number;
xAxis.AutoFormatLabels = false;
xAxis.LabelsNumberFormat = "00000.0000";