ZedGraph LogoZedGraph Class Library Documentation
AddHiLowBar Method (label, x, y, baseVal, color)
NamespacesZedGraphGraphPaneAddHiLowBar(String, array<Double>[](), array<Double>[](), array<Double>[](), Color)
Add a "High-Low" bar type curve (HiLowBarItem object) to the plot with the given data points (double arrays) and properties. This is simplified way to add curves without knowledge of the CurveList class. An alternative is to use the CurveList Add() method.
Declaration Syntax
C#Visual BasicVisual C++
public HiLowBarItem AddHiLowBar(
	string label,
	double[] x,
	double[] y,
	double[] baseVal,
	Color color
)
Public Function AddHiLowBar ( _
	label As String, _
	x As Double(), _
	y As Double(), _
	baseVal As Double(), _
	color As Color _
) As HiLowBarItem
public:
HiLowBarItem^ AddHiLowBar (
	String^ label, 
	array<double>^ x, 
	array<double>^ y, 
	array<double>^ baseVal, 
	Color color
)
Parameters
label (String)
The text label (string) for the curve that will be used as a Legend entry.
x (array<Double>[]())
An array of double precision X values (the independent values) that define the curve.
y (array<Double>[]())
An array of double precision Y values (the dependent values) that define the curve.
baseVal (array<Double>[]())
An array of double precision values that define the base value (the bottom) of the bars for this curve.
color (Color)
The color to used for the bars
Return Value
A HiLowBarItem class for the newly created bar curve. This can then be used to access all of the curve properties that are not defined as arguments to the AddHiLowBar(String, array<Double>[](), array<Double>[](), array<Double>[](), Color) method.

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621