[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAxis.LogBase

LogBase Property

LogBase

Gets or sets the base of the logarithm used by the axis when log scales are enabled.

Use this property with ScaleType to read the logarithmic base of a value axis configured with Logarithmic.

Declaration
double LogBase { get; set; }
Property LogBase 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.ScaleType = ScaleType.Logarithmic;
axis.LogBase = 20d;
double logBase = axis.LogBase;