[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IDataTable.HasBorderHorizontal

HasBorderHorizontal Property

HasBorderHorizontal

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.

Declaration
bool HasBorderHorizontal { get; set; }
Property HasBorderHorizontal As Boolean
Examples
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;