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?
Column Chart doesnt giving labels
-
- Information
-
Who is online
Users browsing this forum: No registered users and 24 guests