[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAxis.HasDisplayUnitLabel

HasDisplayUnitLabel Property

HasDisplayUnitLabel

Gets or sets whether the display unit label is shown on the specified axis.

Returns true if the label specified by the DisplayUnit or DisplayUnitCustom property is displayed on the axis.

Declaration
bool HasDisplayUnitLabel { get; set; }
Property HasDisplayUnitLabel As Boolean
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;
bool hasDisplayUnitLabel = axis.HasDisplayUnitLabel;