Skip to main content
All docs
V25.1
  • CustomizeStackedBarTotalLabelEventArgs.Argument Property

    Returns a series point argument value.

    Namespace: DevExpress.XtraCharts

    Assembly: DevExpress.XtraCharts.v25.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