This is a migrated thread and some comments may be shown as answers.

Horrific crashing. What have I done wrong?

1 Answer 77 Views
RangeSelector
This is a migrated thread and some comments may be shown as answers.
Czeshirecat
Top achievements
Rank 2
Iron
Iron
Czeshirecat asked on 13 Sep 2019, 12:44 PM

I was receiving exceptions when attempting to set range at runtime on the range selector.

System.NullReferenceException
  HResult=0x80004003
  Message=Object reference not set to an instance of an object.
  Source=Telerik.WinControls.ChartView
  StackTrace:
   at Telerik.Charting.CombinedBarSeriesRoundLayoutStrategy.ApplyLayoutRoundingVertical(LayoutContext context)

So I stripped the form out of the main project and I've put it into a sample application. Commenting out lines 13 and 14 of FrmPerformanceChart.cs leads to different levels of nightmare.

Link to project is  sample: testchart

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 17 Sep 2019, 01:39 PM

 

Hello, Claire,

The provided sample project is greatly appreciated. I have logged it in our feedback portal by creating a public thread of your behalf. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

 

I have also updated your Telerik points

Unfortunately, the issue is at a location that is too deep in the chart view model's functionality for any customization to have effect on it. We will increase the priority of the issue and we will do our best to introduce a fix accordingly.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
RangeSelector
Asked by
Czeshirecat
Top achievements
Rank 2
Iron
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or