JSF Chart Creator
-
- Posts: 54
- Joined: Sun Aug 28, 2005 8:13 pm
Is there any Struts based Brother?
Hi,
This project could have fit my application requirements if I haven't had deployment constraints, so I'm wondering if there is a Struts project with the same aim.
Thanks in advance.
This project could have fit my application requirements if I haven't had deployment constraints, so I'm wondering if there is a Struts project with the same aim.
Thanks in advance.
CategoryLabelPositions
Excellent job, a real life saver!.
Do you have any plans to support CategoryLabelPositions?
Thanks!
Johann
Do you have any plans to support CategoryLabelPositions?
Thanks!
Johann
Integrate Jfreechart into ICEfaces
Hi,
I found that ICEfaces successfully integrated krysalis-jCharts, and it runs great. However, the krysalis-jCharts had very limited chart types and also the krysalis-jCharts project had been closed three years ago, I am wandering whether it is possible to integrate jfreechart into ICEfaces. Thank you.
I found that ICEfaces successfully integrated krysalis-jCharts, and it runs great. However, the krysalis-jCharts had very limited chart types and also the krysalis-jCharts project had been closed three years ago, I am wandering whether it is possible to integrate jfreechart into ICEfaces. Thank you.
Tooltips from JSF chartcreater component
First things first - Cagatay, thanks so much for all of the hard work in delivering the JFreeCharts via JSF (and thanks to David for delivering JFreeCharts). The JSF model simplifies their use for web applications greatly!
I see that you've implemented a usemap attribute in the component, which from the examples I see can only specify a name of a map generated elsewhere in the page. Are there any plans (or is it already possible) to use the chartcreater component to generate an image map that contains Tool Tip information?
In a "homemade" web application (non-JSF), I used the StandardXYToolTipGenerator for the renderer on XY charts (StandardXYItemRenderer or something). I think I may have had to render the chart twice (once to get the image and once to get the map), but it was nice to have the mouseover tooltips to get exact values on the chart images (and the overhead was pretty negligible).
Apologies for the long post, just curious about doing this with JSF...
Thanks again,
Ted
I see that you've implemented a usemap attribute in the component, which from the examples I see can only specify a name of a map generated elsewhere in the page. Are there any plans (or is it already possible) to use the chartcreater component to generate an image map that contains Tool Tip information?
In a "homemade" web application (non-JSF), I used the StandardXYToolTipGenerator for the renderer on XY charts (StandardXYItemRenderer or something). I think I may have had to render the chart twice (once to get the image and once to get the map), but it was nice to have the mouseover tooltips to get exact values on the chart images (and the overhead was pretty negligible).
Apologies for the long post, just curious about doing this with JSF...
Thanks again,
Ted
-
- Posts: 4
- Joined: Mon Feb 12, 2007 12:41 pm
- Location: Vienna / Austria
hello everybody,
sorry to bother you all, but I seem to be having an old well-known problem here - ChartCreator seems to work fine, no exceptions appear, the getter in the backing bean is accessed - but no chart appears.
I've worked through all your suggestions, but nothing seemed to work. Probably I have overseen some trivial thing, I just don't know what that might be.
The facts are:
Facelets (I've included the taglib!)
chartcreator-1.2.0-RC1.jar
jcommon-1.0.6.jar
jfreechart-1.0.0.jar
.xhtml snippet:
getter in the backing bean:
web.xml-snippets:
and the following is output by the renderer:
so, as far as I know, everything should work out fine - alas, it doesn't.
any ideas?
thanks a lot,
regards,
Julian
sorry to bother you all, but I seem to be having an old well-known problem here - ChartCreator seems to work fine, no exceptions appear, the getter in the backing bean is accessed - but no chart appears.
I've worked through all your suggestions, but nothing seemed to work. Probably I have overseen some trivial thing, I just don't know what that might be.
The facts are:
Facelets (I've included the taglib!)
chartcreator-1.2.0-RC1.jar
jcommon-1.0.6.jar
jfreechart-1.0.0.jar
.xhtml snippet:
Code: Select all
<div class="boxco">
<div class="contentheader"></div>
<c:chart id="chartTest" datasource="#{controller.dataset}" type="pie"></c:chart>
</div>
Code: Select all
public DefaultPieDataset getDataset() {
dataset = new DefaultPieDataset();
dataset.setValue("A",52);
dataset.setValue("B", 18);
dataset.setValue("C", 30);
return dataset;
}
Code: Select all
...
<context-param>
<param-name>facelets.LIBRARIES</param-name>
<param-value>/WEB-INF/tomahawk.taglib.xml;/WEB-INF/chartcreator.taglib.xml</param-value>
</context-param>
...
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
...
Code: Select all
<div class="boxco"><div class="contentheader"></div><img id="_id2:chartTest" width="400" height="300" src="chartcreatorrequest.jsf?ts=1171280072280&id=_id2:chartTest" /></div>
any ideas?
thanks a lot,
regards,
Julian
I've got exactly the same problem as thisWontHurtABit, except that I'm not using Facelets, but myFaces and Ajax4JSF.
If I remove anything related with myFaces and Ajax4JSF from web.xml the charts appear in my application, otherwise I get an empty picture (as if it can't find its path).
I've even tried to combine my web.xml with the sample application that Chart Creator comes with and if I add the myFaces and Ajax4JSF elements in the web.xml (or even only 1 of them, myFaces / Ajax4JSF) the charts don't appear anymore, only empty pictures
If I remove anything related with myFaces and Ajax4JSF from web.xml the charts appear in my application, otherwise I get an empty picture (as if it can't find its path).
I've even tried to combine my web.xml with the sample application that Chart Creator comes with and if I add the myFaces and Ajax4JSF elements in the web.xml (or even only 1 of them, myFaces / Ajax4JSF) the charts don't appear anymore, only empty pictures

-
- Posts: 4
- Joined: Mon Feb 12, 2007 12:41 pm
- Location: Vienna / Austria
-
- Posts: 4
- Joined: Mon Feb 12, 2007 12:41 pm
- Location: Vienna / Austria
-
- Posts: 4
- Joined: Mon Feb 12, 2007 12:41 pm
- Location: Vienna / Austria
-
- Posts: 54
- Joined: Sun Aug 28, 2005 8:13 pm
Chart Creator in portlet
I am trying to use Chart Creator in a portlet on Liferay 4.2.1. Everything looks ok but at the end I get no exceptions and the chart doesn't appear.
It seems that the PhaseListener is never invoked !!.
Any sugestions ?.
Best Regards.
N
It seems that the PhaseListener is never invoked !!.
Any sugestions ?.
Best Regards.
N
-
- Posts: 54
- Joined: Sun Aug 28, 2005 8:13 pm
Release of 1.2.0
Hi,
Just want to update that the new version with many new features and fixes is scheduled to be released on 11th of may:)
Cagatay
Just want to update that the new version with many new features and fixes is scheduled to be released on 11th of may:)
Cagatay