[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAxis.DisplayUnitLabel

DisplayUnitLabel Property

DisplayUnitLabel

Gets the IDisplayUnitLabel object for this axis.

The display unit label shows the unit specified by DisplayUnit or DisplayUnitCustom on the axis. Returns null if HasDisplayUnitLabel is false.

Declaration
IDisplayUnitLabel DisplayUnitLabel { get; }
ReadOnly Property DisplayUnitLabel As IDisplayUnitLabel
Examples
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
IAxis axis = chart.Axes.Item(AxisType.Value, AxisGroup.Primary);
axis.DisplayUnit = DisplayUnit.Thousands;
IDisplayUnitLabel displayUnitLabel = axis.DisplayUnitLabel;