"setSeriesXYV"

Used to create a series for the charttype Bubbles.

Synopsis

void shape.setSeriesXYV(int series, dyn_float x, dyn_float y, dyn_float v)

Parameters

Parameter Description
series number of the series
x x-Coordinates
y y-Coordinates
v values of the Bubbles

Description

Since the chartType Bubbles needs more than a value per bubble, this function must be used to define a series. x and y represent the coordinates and v the value of a bubble. All 3 arrays must have the same length.

Example

In the following example, three bubbles are created.

main()
{
  dyn_float x = makeDynFloat(5, 3, 7);
  dyn_float y = makeDynFloat(2, 1, 8);
  dyn_float v = makeDynFloat(4, 6, 1);
  this.setSeriesXYV(0, x, y, v);
}
Figure 1. A Bubble-chart with three bubbles is created

Assignment

Chart.ewo