one graph based on given input data
{
AGFloat barOffset;
AGFloat+IPort2 baseValuesY[];
AGColor color;
AGString+IPort2 legendText => name_of(<-);
AGColor negativeColor;
AGFloat+IPort2 valuesX[];
AGFloat+IPort2 valuesY[] = {0.1,2,3,2,2,4,5,3,2,3};
};
AGGraph draws one graph of type curve, scatter, bars, barlines, area, staircase, or stairarea. The data for the chart is given as Y only, Y and base Y, X and Y, or X and Y and base Y.
Inherited from AGPrimitive.
barWidth
barFrameWidth
graphType
lineStyle
lineWidth
referenceValue
scatterSymbols
shiftPosition
symbolFont
symbolHeight
Inherited from AGGraphParams.
A value between -1.0 and 1.0 that represents the center of a bar or barline. If this value is unset, the value is retrieved from the barOffsets parameter in the connected AGGraphWorld or AGGraphViewport.
A string passed to an AGGraphLegend connected to this AGGraph.
The color of the graph. If negativeColor is also set, color represents only the color for values larger than the referenceValue parameter in AGGraphWorld. If the color is unset, the value is retrieved from the graphColors parameter in the connected AGGraphWorld or AGGraphViewport.
If negativeColor is set and color is set, color represents only the color for values larger than the referenceValue parameter in AGGraphWorld. This parameter has no effect for graphType equal to "area" or "stairarea".
X values for the graph. If unset, values 1, 2, 3, 4, and up to the number of Y values are used.
Y values for the graph. This subobject must be set to plot a graph.
The lower edge of the graph when graphType is "bars", "barlines", "area", or "stairarea". This is useful for hi-lo graphs.
examples/gphChar.v
examples/gphUI.v
examples/logex2.v
examples/rainfall.v
examples/simpGph.v
AGGraphLegend / AGGraphLegendObj
AGGraphViewport / AGGraphViewportObj