[]
Gets or sets the minor unit on the value axis.
The minor unit determines the interval between minor tick marks on a value axis. If MinorUnitIsAuto is true, the returned value is calculated automatically.
double MinorUnit { get; set; }
Property MinorUnit As Double
worksheet.Range["A1:B3"].Value = new object[,] {
{"Name", "Value"},
{"A", 10},
{"B", 30}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 360, 220).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B3"], RowCol.Columns, true, true);
IAxis axis = chart.Axes.Item(AxisType.Value, AxisGroup.Primary);
axis.MinorUnit = 5d;
double minorUnit = axis.MinorUnit;