Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
525
Error:Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks
posted

Has anyone ever seen an exception coming from the CategoryDateTimeXAxis like this. I get this error on a very simple chart where the xAxis minimum value is set to DateTime of Ticks = 439832878.

InnerException: System.ArgumentOutOfRangeException

       Message=Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks.

Parameter name: ticks

       Source=mscorlib

       ParamName=ticks

       StackTrace:

            at System.DateTime..ctor(Int64 ticks)

            at Infragistics.Controls.Charts.CategoryDateTimeXAxis.RenderAxisOverride(Boolean animate)

            at Infragistics.Controls.Charts.Axis.DoRenderAxis(Boolean animate)

            at Infragistics.Controls.Charts.ContentInfo.DoRefresh()

            at Infragistics.Controls.Charts.ChartContentManager.DoRefresh()

       InnerException:

 

Thanks.

Parents
  • 138253
    Offline posted

    Hello Sudnya,

     

    Thank you for your post. I have been looking into it and I created a sample project for you following your scenario and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.

     

    Looking forward for your reply.

    XamDataChartMinimumTicks.zip
Reply Children