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
622
DataPoint limit when using XamChart ?
posted

Hello!

I'm working on a chart containing between 24 and 300 datapoints.  If my collection of points is greater than 200, I've got a XAML error:

I'm working on a .NET 3.5 application and I don't have CLR4 with XamDataChart.  I use currently Infragistics WPF3 version 10.3. 

Any suggestion about displaying my chart ? I join a sample project to illustrate my case.

Regards,

Patrick

WpfApplication1.zip
Parents
No Data
Reply
  • 30945
    Verified Answer
    Offline posted

    Hello Patrik,

     

    I have been looking into the behavior that you have describe and it seems that it is caused by the fact that when there are more the 199 data points in a series, the XamChart cannot draw the vertical grid lines, since there is no enough free space for that. In order to avoid this behavior I can suggest setting the Unit property of the PrimaryX axis of the XamChart to a value that will decrease the grid lines count. I have modified the sample application that you have attached in order to demonstrates how you can implement the described approach.

     

    Please let me know if you need any further assistance on the matter.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

    WpfApplication1_1.zip
Children