Pie chart breaking with 7 items
-------------------------------

                 Key: TRINIDAD-665
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-665
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
         Environment: WinXP SP2
JDK 5.0
Firefox 2.0
JBoss 4.2
            Reporter: Florian Reiser


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 6 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:

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;
}

I have tested this issue with verticalBar. The same applies here, too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to