Column Chart doesnt giving labels

UI Components for JSF
Post Reply
praveen198226
Posts: 4
Joined: 27 Apr 2011, 07:35

27 Apr 2011, 07:59

Hi Everyone,

I am new to JSF and Primefaces, I tried an example of generating column charts using this. Though chart was generated it is not giving label names(In my code it is ClassA and ClassB). I am using IE 6.0 browser. At the same time chart is not displaying in Google Chrome.

My code looks like below.

<p:columnChart value="#{chartBean.chartContentbeanList}" var="chartContentBean" xfield="#{chartContentBean.year}" titleX="Year" titleY="%Percentage"
itemSelectListener="#{chartBean.itemSelect}" >
<p:chartSeries label="ClassA" value="#{chartContentBean.passPercentage}" />

<p:chartSeries label="ClassB" value="#{chartContentBean.failedPercentage}" />


</p:columnChart>

Could any one help me in this regard?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests