Community & Support
Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Chart > Null Reference exception

Not answered Null Reference exception

Feed from this thread
  • Andrew avatar

    Posted on Jun 19, 2009 (permalink)

    I've set up a MVVM approach to using the chart control. The first time a chart control displays it loads correctly and displays all of the data correctly. However, as soon as the the data context changes and a new view model is loaded, I get a null reference exception from the chart control. The stack trace does not contain any reference to my code. Below is the stack trace. Any ideas why this might be happening?

    at Telerik.Windows.Controls.Charting.BaseAnimationConverter.GetAnimationSettings()
       at Telerik.Windows.Controls.Charting.BaseAnimationConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
       at Telerik.Windows.Controls.Charting.StaticConverter`2.Convert(Object value, Object parameter, CultureInfo culture)
       at Telerik.Windows.Controls.Charting.StaticConverter`2.Convert(Object value, Object parameter)
       at Telerik.Windows.Controls.Charting.BaseChartItem.ConfigureAnimationSettings()
       at Telerik.Windows.Controls.Charting.BaseChartItem.SetAnimationSettings()
       at Telerik.Windows.Controls.Charting.BaseChartItem.OnApplyTemplate()
       at Telerik.Windows.Controls.Charting.BaseLabelChartItem.OnApplyTemplate()

    Reply

  • Dwight Dwight admin's avatar

    Posted on Jun 23, 2009 (permalink)

    Hi Andrew,

    Can you, please, give us more details on your use case? A sample project will greatly help us pinpoint the problem and fix it.

    Best regards,
    Evtim
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

    Reply

  • Q1 Webinar Week

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Chart > Null Reference exception
Related resources for "Null Reference exception"

WPF Chart Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]