Back to Devexpress

TopNOptionsBase.OthersArgument Property

wpf-devexpress-dot-xpf-dot-charts-dot-topnoptionsbase-dc03dd28.md

latest3.2 KB
Original Source

TopNOptionsBase.OthersArgument Property

Gets or sets the value that the aggregated “Others” point uses as the point’s argument. This is a dependency property.

Namespace : DevExpress.Xpf.Charts

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public string OthersArgument { get; set; }
vb
Public Property OthersArgument As String

Property Value

TypeDescription
String

The aggregated “Others” point argument.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to OthersArgument
Series

.TopNOptions .OthersArgument

|

Remarks

Use the following markup to configure the “Top N” feature:

xaml
<dxc:PieSeries2D ArgumentDataMember="Name"
                 ValueDataMember="Area"
                 LegendTextPattern="{}{A}"
                 LabelsVisibility="True">
    <dxc:PieSeries2D.TopNOptions>
        <dxc:CountTopNOptions Count="5"
                              ShowOthers="True"
                              OthersArgument="Others"
                              dxc:PieSeries.OthersPointExplodedDistance="0.05"/>
    </dxc:PieSeries2D.TopNOptions>
</dxc:PieSeries2D>

The code above uses the following properties:

PropertyDescription
Series.TopNOptionsGets or sets the Top N and Others series’ options. This is a dependency property.
CountTopNOptionsThe “Top N and Others“ feature options that selects first N largest points.
CountTopNOptions.CountGets or sets the number of points with the largest values that the series should show.
TopNOptionsBase.ShowOthersGets or sets the value indicating whether a series should show the aggregated “Others” point. This is a dependency property.
TopNOptionsBase.OthersArgumentGets or sets the value that the aggregated “Others” point uses as the point’s argument. This is a dependency property.
PieSeries.OthersPointExplodedDistanceGets or sets the “Others” slice offset from the pie center.

See Also

TopNOptionsBase Class

TopNOptionsBase Members

DevExpress.Xpf.Charts Namespace