[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAxis.ScaleType

ScaleType Property

ScaleType

Gets or sets the scale type of the value axis.

Use this property to determine whether the value axis uses a linear or logarithmic scale.

Declaration
ScaleType ScaleType { get; set; }
Property ScaleType As ScaleType
Examples
worksheet.Range["A1:B4"].Value = new object[,] {
    {"Item", "Value"},
    {"A", 10},
    {"B", 100},
    {"C", 1000}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 10, 10, 360, 220).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
IAxis axis = chart.Axes.Item(AxisType.Value, AxisGroup.Primary);
axis.ScaleType = ScaleType.Logarithmic;
ScaleType scaleType = axis.ScaleType;