[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAxis.DisplayUnit

DisplayUnit Property

DisplayUnit

Gets or sets the display unit label for the value axis.

Use this property to determine how values on the value axis are scaled for display, such as thousands or millions.

Declaration
DisplayUnit DisplayUnit { get; set; }
Property DisplayUnit As DisplayUnit
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;
DisplayUnit displayUnit = axis.DisplayUnit;