Crash when turning Item Labels on for certain graph

2 posts, 0 answers
  1. Chris
    Chris avatar
    34 posts
    Member since:
    Jul 2011

    Posted 23 Mar 2012 Link to this post


    Version: 2011 Quarter 2

    When I turn the Item Labels on for a particular chart I'm drawing, the whole chart control crashes and I end with just a white blank area.

    Details of the graph:

     - X Axis is a boolean type
     - 3 Dataseries - Amount (bar chart), lots (bar chart) and price (spline)
     - 145 datapoints for each series
     - 3 y-axes (using the two additional axes) (lots is on the main, amount is on 1st additional, price is on 2nd additional)
     - amount min = 1.00, max = 100,000.00
     - lots min = 0, max = 100,000.00
     - price min = 0, max = 593,991,473.00

    I've narrowed it down the "price" dataseries being on the 2nd additional y-axis causing the crash when I turn the show item labels on (it happens if it's a spline or a bar so I don't think the chart type matters).  If I move it onto the 1st additional axis it doesn't crash.  It also doesn't crash if I move one of the other dataseries onto the 2nd additional axis.

    The graph draws ok in all scenarios - it only crashes when I turn the showing of item labels on (it's bound to a boolean property in our viewmodel).

    Has this kind of crash been seen before?
  2. Petar Marchev
    Petar Marchev avatar
    996 posts

    Posted 28 Mar 2012 Link to this post

    Hi Chris,

    So far we have not encountered the problems that you described.

    I created a test project based on your description. In the test the chart is printed correctly with 145 points and 3 series mappings. I am attaching the project to this post so that you can also test it.

    If you keep experiencing issues with this you can send us some code that reproduces this issue, so we can test and investigate where the origins of the problem are.

    Kind regards,
    Petar Marchev
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top