[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAxisTitle

IAxisTitle Interface

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.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public interface IAxisTitle : IChartTitle
Public Interface IAxisTitle
    Inherits IChartTitle
Examples
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";