[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAxis.Format

Format Property

Format

Gets the chart format of the axis.

Use the returned IChartFormat object to access the fill and line formatting settings of the axis.

Declaration
IChartFormat Format { get; }
ReadOnly Property Format As IChartFormat
Examples
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
IAxis axis = chart.Axes.Item(AxisType.Value, AxisGroup.Primary);
IChartFormat format = axis.Format;
format.Line.Color.RGB = Color.Blue;