ErrorBars on ScatterPointSeries

1 Answer 58 Views
ChartView General Discussions
Robin
Top achievements
Rank 1
Robin asked on 17 Feb 2022, 01:41 PM

Hello Telerik Team,

I was wondering how one would implement error bars in a ScatterPointSeries that look similar to this: https://demos.telerik.com/kendo-ui/line-charts/error-bars

There is a very similar question that has been asked before (https://www.telerik.com/forums/how-to-plot-error-bar-for-standard-deviation). Unfortunately, it doesn't look like the feature request mentioned there is going to be implemented anytime soon. As a workaround it was suggested to use a RangeBarSeries with a custom PointTemplate, but that will not work for me, since it is a Cathegorical series and I need to plot the data points at any arbitrary xy coordinate, which is my reason to use the ScatterPointSeries.

I was researching further and found someone mentioning a custom renderer but it seems that is only applicable for windows forms.

I also found this site https://docs.telerik.com/devtools/wpf/controls/radchart/how-to/howto-create-scatter-errorbars-and-boxplot-series but it seems to only work for RadChart and not RadCartesianChart.

Any pointers in the right direction would be greatly appreciated.

 

Best Regards,
Robin

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 21 Feb 2022, 12:32 PM

Hello Robin,

Indeed, the SDK example showing how to create custom error bar visual is applicable only for the categorical series. However, you can use the same approach also with a scatter one. The main idea is the same - you can use one of the already presented series and replace its default visuals with a custom one, using the PointTemplate. I've updated the SDK example's project to show how to create a custom visual for the scatter series. I hope that the attached project helps.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Robin
Top achievements
Rank 1
commented on 23 Feb 2022, 02:57 PM

Hello Martin,

Your example helped a lot! Thanks for taking the time.

Best Regards,
Robin

Tags
ChartView General Discussions
Asked by
Robin
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or