[]
Gets the IFontFormat object for the chart data table.
Use the returned font format to read or modify font settings for the text displayed in the data table.
IFontFormat Font { get; }
ReadOnly Property Font As IFontFormat
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["B1:B3"], RowCol.Columns, true, true);
chart.HasDataTable = true;
IFontFormat font = chart.DataTable.Font;
font.Color.RGB = Color.Red;