BBjBarChart::setBarValue

Description

In BBj 7.00 and higher, this BBjBarChart method sets a bar value for a specified series and category.

Syntax

Return Value

Method

void

setBarValue(int series, int category, BBjNumber value)

Parameters

Variable

Description

series

The series for which the value is to be set.

category

The category for which the value is to be set.

value

The value of the bar to be drawn at the specified location.

Return Value

None.

Remarks

If a BarChart has multiple series and multiple categories then when the chart is drawn all the bars that represent a category will be contiguous and the various categories will be drawn in order along the major axis.

A call to setBarValue() will fail if the program has not previously set the name of the category and the name of the series using the methods setCategoryName() and setSeriesName().

Example

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

ClientObject Tutorial

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.