Unplanned
Last Updated: 09 Mar 2021 14:04 by Bridget
Bridget
Created on: 22 Feb 2021 21:37
Category: Chart
Type: Feature Request
0
Feature Request: Ability to customize individual outliers irrespective of mild or extreme classification on box plots
outliers: [0,0,0.5,6,7,11]

I.e. For the list of outliers above, I'd like to have all even outliers green and odd outliers red.

Green: 0, 0, 6

Red: 0.5, 7, 11

4 comments
Bridget
Posted on: 09 Mar 2021 14:04
Awesome, thank you!
ADMIN
Tsvetomir
Posted on: 09 Mar 2021 12:08

Hi,

Thank you for the additional details.

Indeed, it is correct that the function that resolves the coloring of the outliers is called only once - at the time the series are created and the outliers can be only set to a single color. Therefore, I would approve the current feature request.

 

Kind regards,
Tsvetomir
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Bridget
Posted on: 05 Mar 2021 14:06

Hi Tsvetomir,

I tried out your suggestion in the dojo and I unfortunately wasn't able to get it to work with multiple outliers in a dataItem.  I modified the dataItem for year 2006 in the dojo above to have 2 outliers:

            { year: 2006, lower: 1.2, q1: 1.95, median: 2.45, q3: 3.075, upper: 3.5, mean: 2.5, outliers: [1, 5], outlierColor: "green"  }

In the case above, they will both be green.  However, I need it so that I can make the outlier with a value of 1 "yellow" and the outlier with a value of 5 "blue".  It doesn't appear that this is possible with the current data structure.  We need to be able to customize the color of each individual outlier in a dataItem.

I hope the example above helps with explaining my firm's use case.  Please let me know if you need any additional information.

Thanks,

Bridget

ADMIN
Tsvetomir
Posted on: 01 Mar 2021 14:15

Hi Bridget,

Thank you for your suggestion!

The border color of outliers can be set via an additional JavaScript function. Within the function, you could check the values and return the respective color:

https://dojo.telerik.com/ofaniGOD

Is this is a functionality that you would expect to see in the outliers or is there something else that can be implemented? If yes, it would be helpful if you could share more details.

 

Best regards,
Tsvetomir
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.