"getSeries"

Used to get the values of a series.

Synopsis

dyn_float shape.getSeries(int series)

Parameters

Parameter Description
series number of the requested series

Description

Used to get the values of a series.

Example

At first, a chart is created.

main()
{
   dyn_float one;
   one[1] = 9;
   one[2] = 11;
   one[3] = 20;
   one[4] = 2;
   this.addSeries(one);
   this.setSeriesFillColor(0, "{180,255,170}");
   dyn_float two;
   two[1] = 1;
   two[2] = 14;
   two[3] = 15;
   this.addSeries(two);
   this.setSeriesFillColor(1, "{52,225,255}");
}

Now a Push Button and a list are created. It is the goal that the values of the series are shown in the list when the Push Button is pressed.

Therefor, a clicked-script is created on the Push Button:

main()
{
  dyn_float one = Chart_ewo1.getSeries(0);
  SELECTION_LIST1.items = one;
}

Finally, it should look like this:

Figure 1. The final chart with Push Button and list

Assignment

Chart.ewo