Completed
Last Updated: 23 Jan 2020 08:05 by ADMIN
Derek
Created on: 10 Apr 2015 18:18
Category: Chart
Type: Feature Request
1
Improvements to Column Chart error bars
1. Add method CategoricalErrorBarsBuilder.Field(string) that will indicate the name of the field containing the value for the error bar.  This value would be a relative difference (not absolute high/low).  There is a "Fields(string,string)" method but "Field(string)" for difference value is missing.

2. Provide way to render half (top or bottom) of error bar.  For example, if only CategoricalErrorBarsBuilder.HighField(string) is assigned, then render top half of error bar.  Or maybe some other setting.  Often it is desirable to show only the side of the error bar that is above (or below, if the bar represents a negative value) the bar marker so that the other half is not rendered within the bar marker.
1 comment
ADMIN
Alex Hajigeorgieva
Posted on: 23 Jan 2020 08:05

Hi, Derek,

The UI for ASP.NET MVC Chart CategoricalErrorBarsBuilder has a Value method which accepts a custom JavaScript handler that can be used to return the field value:

https://docs.telerik.com/aspnet-mvc/api/Kendo.Mvc.UI.Fluent/CategoricalErrorBarsBuilder#valuesystemfuncsystemobjectsystemobject

As for the visual, you can use the visual function to draw:

https://docs.telerik.com/aspnet-mvc/api/Kendo.Mvc.UI.Fluent/ErrorBarsBuilderBase#visualsystemfuncsystemobjectsystemobject

Here is a runnable example from our jQuery API that you can use as a starting point:

https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/configuration/series.errorbars#serieserrorbarsvisual

Regards,
Alex Hajigeorgieva
Progress Telerik

Get quickly onboarded and successful with your Telerik UI for ASP.NET MVC with the dedicated Virtual Classroom technical training, available to all active customers.