Skip to main content

CustomizeStackedBarTotalLabelEventArgs.Argument Property

Returns a series point argument value.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public object Argument { get; }

Property Value

Type Description
Object

A series point argument value.

Remarks

The following example hides ‘total’ labels for certain series points:

private void StackedBarChart_CustomizeStackedBarTotalLabel(object sender, CustomizeStackedBarTotalLabelEventArgs e) {
    if (e.Argument.ToString() == "A" || e.Argument.ToString() == "D") {
        e.Text = String.Empty;
    }
}

Result:

Stacked bar total label

See Also