wood burning stoves 2.0*
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
Author

Primeface Chart data problem

Karoly Guba
Greenhorn

Joined: Dec 09, 2011
Posts: 5
Hi!

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?


Thanks

 
 
subject: Primeface Chart data problem