[]
Gets whether the chart data table displays horizontal cell borders.
This property indicates whether horizontal border lines are shown between
rows in the chart data table. The default value is true.
bool HasBorderHorizontal { get; set; }
Property HasBorderHorizontal As Boolean
worksheet.Range["A1:C3"].Value = new object[,] {
{"Item", "Planned", "Actual"},
{"Sales", 120, 135},
{"Cost", 80, 75}
};
IChart chart = worksheet.Shapes
.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200)
.Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:C3"]);
chart.HasDataTable = true;
bool hasHorizontalBorder = chart.DataTable.HasBorderHorizontal;