How do I...
1. Set the mininum range for the Y axis to zero and the maximum range to whatever is the largest value in the datatable?
The code below can result to a non-zero as the min. range because it tries to start on the lowest value found in the datatable, but it will correctly set the maximum range to the largest value.
Chart1.Axis.Y.RangeType = Infragistics.UltraChart.Shared.Styles.AxisRangeType.Automatic
The code below on the other hand will allow me to specify the min range to be zero, but doesn't provide me the flexibility of autmatically assigning whatever is the largest value in the datatable.
Chart1.Axis.Y.RangeMin = 0 Chart1.Axis.Y.RangeMax = *
2. Assign formatting to X/Y labels?
The labels are showing as 00, 05, 10, 15, 20... and I want to show them as 0, 5, 10, 15...
I was having this same issue. Setting ZeroAligned to True worked for me. Good luck!
What version of NetAdvantage are you using, the ChartType in question, and could you give me a sample couple rows of your data?
Unfortunately neither of the above solution worked for me. ZeroAligned is already set to True by default. I set the ItemFormatting suggested above at design time and run-time but still has the 00 format.
1. set the chart1.Data.ZeroAligned to true
2. set the chart1.Axis.Y.ItemFormatString to <DATA_VALUE:0.##> instead of <DATA_VALUE:00.##>