# BBjLineChart::setXYValue

## Description

In BBj 7.0 and higher, this BBjLineChart method adds the X-Y point to the specified series (line).

## Syntax

Return Value |
Method |

void |
setXYValue(int series, BBjNumber x, BBjNumber y) |

## Parameters

Variable |
Description |

series |
The series for which the name is to be set |

x |
The x value of the point that is to be added to the series |

y |
The y value of the point that is to be added to the series |

## Return Value

None.

## Remarks

A series is a line that is to be drawn on the chart.

A call to setXYValue() will fail if the program has not yet called setSeriesName() for the series whose value is being set.

## Example

## See Also

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