How to add tooltip to the piechart

UI Components for JSF
Post Reply
User avatar
manickam
Posts: 5
Joined: 16 Jun 2011, 08:26
Location: Bangalore, India

16 Jun 2011, 09:49

Hi all,

I am new to this primefaces. I can create and show the graph, but i cannot show the tooltip when the mouse move over the piechart items. Here is my code

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.prime.com.tr/ui"
template="../templates/ui.xhtml">

<ui:define name="content">

<h:form id="serviceForm">
<div align="center">
<h:panelGrid columns="1">
<p:pieChart id="statusPieChart" value="#{servicesChartBean.statusPieChart}" legendPosition="w"
title="\'#{servicesChartBean.serviceName}\' based on message status" style="width:400px;"/>

</h:panelGrid>

</div>

</h:form>

</ui:define>

</ui:composition>

please give me the necessary details

And also am using,
1)primefaces-3.0.M2-SNAPSHOT.jar
2)Apache tomcat v6.0
3)jsf-api-2.0.4-b09.jar
4)jsf-impl-2.0.4-b09.jar

Thanks in advance to all
Manickam Rengasamy

User avatar
leventgny
Posts: 238
Joined: 24 May 2011, 16:49
Contact:

16 Jun 2011, 13:33

PF charts tooltip support will be added after 3.0M2.

Thanks
PrimeFaces Team Member

User avatar
manickam
Posts: 5
Joined: 16 Jun 2011, 08:26
Location: Bangalore, India

17 Jun 2011, 06:20

Oh, ok Thanks. :) Can you please tell me the suitable jar for that?
Manickam Rengasamy

User avatar
manickam
Posts: 5
Joined: 16 Jun 2011, 08:26
Location: Bangalore, India

23 Jun 2011, 14:18

I asked about the next release after PrimeFaces 3.0M2. Because the tooltip is the important requirement in our application. Please give me the details.
Manickam Rengasamy

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 23 guests