You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Florian Reiser (JIRA)" <de...@myfaces.apache.org> on 2007/08/30 07:54:31 UTC

[jira] Created: (TRINIDAD-665) Pie chart breaking with 7 items

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.


[jira] Updated: (TRINIDAD-665) Pie chart breaking with 7 items

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ 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.


[jira] Updated: (TRINIDAD-665) Pie chart breaking with 7 items

Posted by "Venkata Guddanti (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Venkata Guddanti updated TRINIDAD-665:
--------------------------------------

    Status: Patch Available  (was: Open)

> 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
>         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.