Hi Florian, I provided a patch for this issue. I noticed that even after providing the colors, the chart was not working since the gradient templates defined in the template SVG were also limited. There was also an issue with the tooltip for the pie not displaying at the correct location. Here is the updated JIRA ticket:
https://issues.apache.org/jira/browse/TRINIDAD-665 Regards, Venkata On 8/29/07, Florian Reiser <[EMAIL PROTECTED]> wrote: > > Thank you, Venkata. > The JIRA ticket is opened under the id TRINIDAD-665. > > With kind regards > Florian Reiser > > -------- Original-Nachricht -------- > > Datum: Wed, 29 Aug 2007 14:34:05 -0600 > > Von: "venkata guddanti" <[EMAIL PROTECTED]> > > An: "MyFaces Discussion" <[email protected]> > > Betreff: Re: [Trinidad] Pie chart breaking with 7 items > > > Can you please log a JIRA ticket? I will investigate and provide a > patch. > > > > Regards, > > Venkata > > > > On 8/29/07, Florian Reiser < [EMAIL PROTECTED]> wrote: > > > > > > 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 > > > > > -- > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail >

