Edit: I mean AxisX in my post title... it's been a long day and I'm very tired.
Nothing but problems I'm afraid - here's my next one.
I am trying to manually set the range of the AxisX to only show the last <X> minutes of data. I have done this:
And the resulting graph has only one starting tick.
See the attached png for the result.
Is this a bug, or am I missing a setting?
Nothing but problems I'm afraid - here's my next one.
I am trying to manually set the range of the AxisX to only show the last <X> minutes of data. I have done this:
DateTime StartDate = DateTime.Parse("2010-05-18T06:38:42.914"); |
DateTime EndDate = DateTime.Parse("2010-05-18T10:31:42.00"); |
_RadChart.DefaultView.ChartArea.AxisX.AutoRange = false; |
_RadChart.DefaultView.ChartArea.AxisX.MinValue = StartDate.ToOADate(); |
_RadChart.DefaultView.ChartArea.AxisX.MaxValue = EndDate.ToOADate(); |
_RadChart.DefaultView.ChartArea.AxisX.Step = 5; |
_RadChart.DefaultView.ChartArea.AxisX.LabelStep = 2; |
_RadChart.DefaultView.ChartArea.AxisX.StepLabelLevelCount = 2; |
And the resulting graph has only one starting tick.
See the attached png for the result.
Is this a bug, or am I missing a setting?