BBjBarChart::setSeriesName
Description
In BBj 7.00 and higher, this BBjBarChart method sets the name of the series on the bar chart.
Syntax
Return Value |
Method |
void |
setSeriesName(int series, string name) |
Parameters
Variable |
Description |
---|---|
series |
The series for which the name is to be set. |
name |
The name to be displayed for a series. |
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 setSeriesName will cause any data previously set for the specified series to be lost.
Example
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.