chart ios throw exception

2 posts, 0 answers
  1. Itamar
    Itamar avatar
    31 posts
    Member since:
    Mar 2016

    Posted 13 Mar 2017 Link to this post


    We have 2 charts in carousel 
      Chart.XAxis.AllowZoom = true;
      Chart.XAxis.AllowPan = true;
      Chart.AllowTrackball = true;
      Chart.AllowPanDeceleration = true;

    When we get into selected chart in the carousel 
    We add the relevant series and clear the previous chart series 

    This is the unhandled exception we get from the chart and the application crush    
    ios chart throw
     exceptiFoundation.MonoTouchException: Objective-C exception thrown.  Name: NSInvalidArgumentException Reason: *** -[__NSPlaceholderArray initWithCapacity:]: capacity (2147483646) is ridiculous
    Native stack trace:on 

       0x0041dbfc -[TKChartGridRender drawInContext:] + 380

    if we turn off the AllowZoom and AllowPan This exception not exists  
      Chart.XAxis.AllowZoom = false;
      Chart.XAxis.AllowPan = false;

    How to handle this exception
    Best Regards 

  2. Deyan
    Deyan avatar
    2147 posts

    Posted 14 Mar 2017 Link to this post


    Thanks for writing.

    We are not familiar with this exception and haven't previously stumbled upon similar case. Can you please open a new support ticket and attach a ZIP containing a project which we can use to reproduce the scenario. This will help us directly debug the source and see what we can do.

    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top