Properties
PropertyExplanationType
AddScaleTrue means to add a scale to the graphBoolean
BarWidthThe bar widthInteger
BgColorThe graphs background colorString
ColorsBar colors in order of preference.(comma-delimited string of HTML colors)String
LegendLegend names (comma-delimited)String
MaxBarHeightThe graph heightInteger
RelativeTrue means build stacked-type relative-area graph.Boolean
ScaleColorScale colorString
ScaleSizeScale sizeInteger
ShowHLinesTrue means to show the horizontal linesBoolean
ShowVLinesTrue means to show the vertical linesBoolean
SpacingBar group's spcingInteger
StackedTrue means build stacked-type graphBoolean
TitleGrpah titleString
TitleClassNameTitle classString
XLabelClassNameThe X-Label css class nameString
XScaleValuesThe X-Scale valuesString
YLabelClassNameThe Y-Label css class nameString
hLineColorHorizontal line colorString
vLineColorVertical line colorString
xALign{left,middle,right}String
xLabelThe X-LabelString
yLabelThe Y-LabelString
Methods
MethodExplanationParameters
AddRowUsed to add data y-values to the graph.
Accepts a comma delimited string of values
Usage: objGraph.AddRow("10,20,55,29,32")
Values
AddRowDataSame as AddRow but also accepts the Legend name for the given row
Usage: objGraph.AddRowData("Diamond", "10,20,55,29,32")
Name,Values
DrawDraws the graphNONE
GetGraphReturn the graph as an HTML string (If you wanted to generate an HTML graph from a windows application or just wanted the string.)
Usage: Response.Write(objGraph.GetGraph)
NONE