[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IErrorBar.ValueType

ValueType Property

ValueType

Gets or sets how the error bar range is determined.

The returned ErrorBarType indicates whether the error bar uses a fixed value, percentage, standard deviation, standard error, or custom values.

Declaration
ErrorBarType ValueType { get; set; }
Property ValueType As ErrorBarType
Examples
worksheet.Range["A1:B4"].Value = new object[,] {{"X", "Y"}, {1, 2}, {2, 4}, {3, 3}};
IChart chart = worksheet.Shapes.AddChart(ChartType.XYScatter, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
chart.SeriesCollection[0].HasErrorBars = true;
IErrorBar errorBar = chart.SeriesCollection[0].YErrorBar;
ErrorBarType valueType = errorBar.ValueType;