JavaScript/jQuery PieChart - series.smallValuesGrouping
If you need to group specific chart segments into one, use the options of the smallValuesGrouping configuration object.
You can group segments in two different modes. Use a 'topN' mode to group all segments that have an index that is equal to or greater than the value of the topCount option. To group all segments with the value less than the value of the threshold option, use a 'smallValueThreshold' mode.
By default, the resulting segment is called "others". To change this name, specify the groupName option.
groupName
Specifies the name of the grouped chart segment. This name represents the segment in the chart legend.
mode
If you need to group specific chart segments into one, set the options of the smallValuesGrouping configuration object. Using the mode option of this object, you can define the grouping mode.
Use a 'topN' mode to group all segments with an index that is equal to or greater than the value of the topCount option.
To group all segments with a value less than the value of the threshold option, set a 'smallValueThreshold' mode.
To switch the grouping off, assign 'none' to the mode option.
Use the SmallValuesGroupingMode
enum to specify this option when the widget is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values: TopN
, SmallValueThreshold
, and None
.