Hello,

I want to draw a pie chart with a total of 15 data items in a series.
When I render the page the chart is not shown.

So I limited the number of data items in the chart and found out, that
the chart shows only with a maximum number of 5 data items.

So the following works:

public List<List<Double>> getYValues() {
  List<Double> item = Arrays.asList(new Double[] {1.0, 2.0, 3.0, 4.0, 5.0, 
6.0});
  Vector<List<Double>> yValues = new Vector<List<Double>>();
  yValues.add(item);
  return yValues;
}

But this doesn't work:

the chart shows only with a maximum number of 5 data items.

So the following works:

public List<List<Double>> getYValues() {
  List<Double> item = Arrays.asList(new Double[] {1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 
7.0});
  Vector<List<Double>> yValues = new Vector<List<Double>>();
  yValues.add(item);
  return yValues;
}

What can I do to draw all of my items?

With kind regards
Florian Reiser
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

Reply via email to