BBjBarChart::setCategoryName

Description

In BBj 7.0 and higher, this BBjBarChart method sets the name of a category on the bar chart.

Syntax

Return Value

Method

void

setCategoryName(int category, string name)

Parameters

Variable

Description

category

The category for which the name is to be set.

name

The name to be displayed for a category.

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().

A call to setCategoryName will cause any data previously set for the specified category to be lost.

Example

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

ClientObject Tutorial

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