[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAxis.DisplayUnitCustom

DisplayUnitCustom Property

DisplayUnitCustom

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

This property returns the displayed unit value when DisplayUnit is set to Custom. The value is from 0 through 10E307.

Declaration
double DisplayUnitCustom { get; set; }
Property DisplayUnitCustom As Double
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.Custom;
axis.DisplayUnitCustom = 1000d;
double displayUnitCustom = axis.DisplayUnitCustom;