I am trying to implement the RangeSelectorChart sample for Android.
When I try to create a DateRange from
var range = new DateRange(((DateTimeAxis)m_Chart.XAxis).DataRange.Minimum, DateTime.Now)
where XAxis has just been created (the serie is here, linked to an empty custom data adapter), an ArgumentOutOfRangeException is thrown.
This is due to the
done while accessing the DataRange.Minimum property.
I tried to get the MinimumInternal Date by reflection and it looks like a date initialized with
which of course:
- Is not compatible with the range of a System.DateTime
- Should probably be initialized with MinValue as it is the minimum value for the XAxis…
Does anybody have already encountered this issue?