[]
Represents the title of a chart axis.
An IAxisTitle extends IChartTitle and provides access to the text and formatting of an axis title. Use AxisTitle to obtain the title object for a chart axis.
public interface IAxisTitle : IChartTitle
Public Interface IAxisTitle
Inherits IChartTitle
worksheet.Range["A1:B3"].Value = new object[,] {
{"Month", "Sales"},
{"Jan", 100},
{"Feb", 120}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["B2:B3"], RowCol.Columns);
IAxisTitle axisTitle = chart.Axes.Item(AxisType.Value).AxisTitle;
axisTitle.Text = "Sales";