First thanks for your project, this looks great!
I start to use the charts and I have two questions:
1/ I wanted to use the columnChar but could not have it working. I tried with exactly the same backing beans as the ones for the lineChart which works. I just replace lineChart with columnChar in the following code and I have an exception saying that a collection cannot be cast to a String. So is there something special to do regarding the columnChar? Is the use similar in both or is there something specific for columnChar?
Code: Select all
<p:lineChart value="#{chartBean.nbCreatePerPeriods}" var="nbCreatePeriod" xfield="#{nbCreatePeriod.date}">
<p:chartSeries label="Nb" value="#{nbCreatePeriod.nb}" />
</p:lineChart>
Thanks a lot!
Ludovic