Controls disappear - piechart issue?

UI Components for JSF
Post Reply
sjd0103
Posts: 6
Joined: 25 Feb 2010, 20:15

05 Mar 2010, 20:18

Hello!

In Netbeans 6.8 using Tomcat, if I add a piechart control to a page, the other p:xx controls do not render (in this case just another datatable control on the form). Also, if I add "style="chartStyle"", then NONE of the p:xx controls render! Even with style="chartStyle" defined in javascript in the header, nothing works. Does ANYONE know what's wrong? I'll post code if it will help.

Thanks for any advise!

sjd0103
Posts: 6
Joined: 25 Feb 2010, 20:15

05 Mar 2010, 20:25

I should add that with no other controls on the form, the piechart does render (without a visible legend - mouseover the chart does display correct percentages/category). I need the legend too, so any help there would be terrific.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

07 Mar 2010, 14:44

Tried using p:pieChart with other p controls, it is all working and I know many applications displaying charts with other PrimeFaces components, so cant replicate your issue.

For legend, you need chart style.

sjd0103
Posts: 6
Joined: 25 Feb 2010, 20:15

25 Mar 2010, 20:54

It works just fine. My scenario was data was removed while I was testing...I was surprised to see a blank area when no data...Will look for a nice 'no data' template. Thanks cagatay! These controls friggin rock :!:

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests