[]
Specifies the parent data label option for a series within a chart group.
Use this enumeration with ParentDataLabelOption to control how parent data labels are displayed for the series.
public enum ParentDataLabelOptions
Public Enum ParentDataLabelOptions
worksheet.Range["A1:B4"].Value = new object[,] {
{"Category", "Value"},
{"A", 100},
{"B", 80},
{"C", 60}
};
IShape shape = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200);
shape.Chart.SeriesCollection.Add(worksheet.Range["A1:B4"], RowCol.Columns, true, true);
ISeries series = shape.Chart.SeriesCollection[0];
series.ParentDataLabelOption = ParentDataLabelOptions.Banner;
| Name | Description |
|---|---|
| Banner | Specifies banner parent data label. |
| None | Specifies no parent data label. |
| Overlapping | Specifies overlapping parent data label. |