myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Updated: (TRINIDAD-665) Pie chart breaking with 7 items
Date Tue, 25 Sep 2007 10:09:50 GMT

     [ https://issues.apache.org/jira/browse/TRINIDAD-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matthias Weßendorf updated TRINIDAD-665:
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.3-core
           Status: Resolved  (was: Patch Available)

thx für the patch, venk!

> 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
>            Assignee: Matthias Weßendorf
>             Fix For: 1.0.3-core
>
>         Attachments: chart.patch, trunk.path
>
>
> 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.


Mime
View raw message