File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Primeface Chart data problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Primeface Chart data problem" Watch "Primeface Chart data problem" New topic

Primeface Chart data problem

Karoly Guba

Joined: Dec 09, 2011
Posts: 5

I use primeface Chart element to present how many clients enters in an office on a time period. For example today 25 client, yesterday 42 client etc.

I get this list from a database, but primeface chart needs datamodel and I have only pure list element.

Here is the source code:

The managed bean is:

and the JSF is:

But this gives me empty chart!

My question is how to put datas from database to chart element in this case?


I agree. Here's the link:
subject: Primeface Chart data problem
jQuery in Action, 3rd edition