[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChartGroup.BinsUnderflowEnabled

BinsUnderflowEnabled Property

BinsUnderflowEnabled

Gets or sets whether a bin for values below the BinsUnderflowValue property is enabled.

This property applies to histogram charts and indicates whether values less than the underflow threshold are grouped into a separate underflow bin.

Declaration
bool BinsUnderflowEnabled { get; set; }
Property BinsUnderflowEnabled As Boolean
Examples
worksheet.Range["A1:A6"].Value = new object[,] {
    {"Score"},
    {8},
    {10},
    {12},
    {18},
    {24}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.Histogram, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:A6"]);
IChartGroup chartGroup = chart.ChartGroups[0];
chartGroup.BinsUnderflowValue = 10.0;
bool underflowEnabled = chartGroup.BinsUnderflowEnabled;