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

[Solved] Indicators for series with null data

1 Answer 32 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dan
Top achievements
Rank 1
Dan asked on 19 Mar 2013, 02:54 AM
I've got a BarSeries that includes some null values that I'd like to show an indicator for. When adding an indicator, I get a crash that has a stack like:

System.ArgumentNullException
   at Telerik.UI.Xaml.Controls.Chart.PropertyNameDataPointBinding.GetValue(Object instance)
   at Telerik.UI.Xaml.Controls.Chart.MovingAverageIndicatorDataSource.BindCore(Int32 startIndex)
   at Telerik.UI.Xaml.Controls.Chart.MovingAverageIndicatorDataSource.BindCore()
   at Telerik.UI.Xaml.Controls.Chart.ChartSeriesDataSource.Bind()
   at Telerik.UI.Xaml.Controls.Chart.ChartSeriesDataSource.Rebind(Boolean itemsSourceChanged, IEnumerable newSource)
   at Telerik.UI.Xaml.Controls.Chart.ChartSeriesDataSource.set_ItemsSource(IEnumerable value)
   at Telerik.UI.Xaml.Controls.Chart.ChartSeries.OnTemplateApplied()
   at Telerik.UI.Xaml.Controls.RadControl.OnApplyTemplate()

I've tried a few different indicator types with similar results. Is it possible to use indicators on data sources with null values?

Thanks

Dan

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 19 Mar 2013, 01:09 PM
Hello Dan,

Thank you for contacting us.

Indeed your observations are correct and we must confirm that currently all financial indicators do not support null data so it would not be possible to achieve the desired functionality.

We have logged your feedback (specifically about moving average indicator types) in our product backlog and have forwarded it to our developers for further consideration for one of the next versions of the control.


All the best,
Giuseppe
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
Chart for XAML
Asked by
Dan
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or