JSF Chart Creator
-
- Posts: 54
- Joined: Sun Aug 28, 2005 8:13 pm
Dear JFreeChart Community,
I'm pleased to announce that JSF ChartCreator's new version 1.2.0-M1 is ready, This release contains many new features and several bug fixes.
* Provided an optional configuration to switch between a servlet and a phaselistener as the generator of the charts. This is done so because, a phaselistener can be used in a portlet environment and a servlet can be used when some other lib's phaselistener(like Ajax4JSF) prevents chart's phaselistener from getting called.
* Added a new child component called chartAxis that can be used to customize a single axis.
* Created a renderer for the chart component so users can override it if they want.
* Clickable chart sections; Previous version was supporting custom image maps but this new feature generates automatic image maps for each chart section and users can attach events to be processed when for example a bar is clicked for a bar chart.
* Several bug fixes.
Much more information can be found at ChartCreator's home page at;
http://jsf-comp.sourceforge.net/compone ... index.html
API and TLD Docs at;
http://people.apache.org/~cagatay/chart ... /docs/tld/
http://people.apache.org/~cagatay/chart ... /docs/api/
Download at;
http://sourceforge.net/project/showfile ... _id=137466
Best Regards,
Cagatay
I'm pleased to announce that JSF ChartCreator's new version 1.2.0-M1 is ready, This release contains many new features and several bug fixes.
* Provided an optional configuration to switch between a servlet and a phaselistener as the generator of the charts. This is done so because, a phaselistener can be used in a portlet environment and a servlet can be used when some other lib's phaselistener(like Ajax4JSF) prevents chart's phaselistener from getting called.
* Added a new child component called chartAxis that can be used to customize a single axis.
* Created a renderer for the chart component so users can override it if they want.
* Clickable chart sections; Previous version was supporting custom image maps but this new feature generates automatic image maps for each chart section and users can attach events to be processed when for example a bar is clicked for a bar chart.
* Several bug fixes.
Much more information can be found at ChartCreator's home page at;
http://jsf-comp.sourceforge.net/compone ... index.html
API and TLD Docs at;
http://people.apache.org/~cagatay/chart ... /docs/tld/
http://people.apache.org/~cagatay/chart ... /docs/api/
Download at;
http://sourceforge.net/project/showfile ... _id=137466
Best Regards,
Cagatay
Last edited by cagatay_civici on Sat May 12, 2007 10:14 am, edited 1 time in total.
-
- Posts: 54
- Joined: Sun Aug 28, 2005 8:13 pm
-
- Posts: 54
- Joined: Sun Aug 28, 2005 8:13 pm
-
- Posts: 2
- Joined: Fri May 18, 2007 6:58 am
- Location: Melbourne, Vic, Australia
Hi Cagatay.cagatay_civici wrote:Dear JFreeChart Community,
I'm pleased to announce that JSF ChartCreator's new version 1.2.0-M1 is ready, This release contains many new features and several bug fixes.
I sent you the additions that I made to your component to allow for alternative legends (the legendContainer attributes) for pie charts.
Did you get it and have you had a chance to implement them into your source?
-Chris
-
- Posts: 54
- Joined: Sun Aug 28, 2005 8:13 pm
How can i set Chart Creator work with myfaces 1.1.5
I try to get chart creator worked with myfaces ,but I don't know how to edit the web.xml file. how can i configure with chart creat listener?
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>
<context-param>
<param-name>
net.sf.jsfcomp.chartcreator.USE_CHARTLET
</param-name>
<param-value>false</param-value>
</context-param>
<listener>
<listener-class>
org.apache.myfaces.webapp.StartupServletContextListener
</listener-class>
</listener>
<listener>
<listener-class>
???????
</listener-class>
</listener>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet>
<servlet-name>Chartlet</servlet-name>
<servlet-class>net.sf.jsfcomp.chartcreator.Chartlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Chartlet</servlet-name>
<url-pattern>*.chart</url-pattern>
</servlet-mapping>
<filter>
<filter-name>MyFacesExtensionsFilter</filter-name>
<filter-class>
org.apache.myfaces.webapp.filter.ExtensionsFilter
</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>*.faces</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>
<context-param>
<param-name>
net.sf.jsfcomp.chartcreator.USE_CHARTLET
</param-name>
<param-value>false</param-value>
</context-param>
<listener>
<listener-class>
org.apache.myfaces.webapp.StartupServletContextListener
</listener-class>
</listener>
<listener>
<listener-class>
???????
</listener-class>
</listener>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet>
<servlet-name>Chartlet</servlet-name>
<servlet-class>net.sf.jsfcomp.chartcreator.Chartlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Chartlet</servlet-name>
<url-pattern>*.chart</url-pattern>
</servlet-mapping>
<filter>
<filter-name>MyFacesExtensionsFilter</filter-name>
<filter-class>
org.apache.myfaces.webapp.filter.ExtensionsFilter
</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>*.faces</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
-
- Posts: 54
- Joined: Sun Aug 28, 2005 8:13 pm
Still does not work for me
I still get the same error when I try to deploy the example webapp on Bea Weblogic Express 9.2.cagatay_civici wrote:I've fixed the jvm dependency issue and made a M2 Release that's compatible with 1.4+.

-jsl
Wherever you go, there you are.
-
- Posts: 54
- Joined: Sun Aug 28, 2005 8:13 pm
-
- Posts: 54
- Joined: Sun Aug 28, 2005 8:13 pm
I've deployed the example webapp of chartcreator online,
http://www.nightdev.devisland.net/chartcreator
http://www.nightdev.devisland.net/chartcreator
-
- Posts: 54
- Joined: Sun Aug 28, 2005 8:13 pm
Version 1.2.0 is released, it contains several minor fixes and hopefully the jdk version issue is gone now:) As a reminder online demo is at
http://www.nightdev.devisland.net/chartcreator.
http://www.nightdev.devisland.net/chartcreator.
IBM portlet
Hi. I just downloaded the new release for ChartCreator... Thanks!
I'm trying to get a simple chart work into an IBM portlet. Is it possible? I just copied your example, for the jsf-comp/Chart creator page. But it doesn't work in my portlet. I followed the instructions...but chart doesn't appear. I copied and pasted your <c:chart> code into my portletview jsp.
my bean has your code for getPieDataSet. Also, I tried changing the context-param to true and false...still doesn't appear...
Thanks for your help!!
I'm trying to get a simple chart work into an IBM portlet. Is it possible? I just copied your example, for the jsf-comp/Chart creator page. But it doesn't work in my portlet. I followed the instructions...but chart doesn't appear. I copied and pasted your <c:chart> code into my portletview jsp.
my bean has your code for getPieDataSet. Also, I tried changing the context-param to true and false...still doesn't appear...
Thanks for your help!!
more customized line chart
Hi,
Can I customize how a chart looks like ? for example, for a 2D line chart can I set the weight of the line and the points to be visible and a tooltip on the points ?
thanks,
Mihaela.
Can I customize how a chart looks like ? for example, for a 2D line chart can I set the weight of the line and the points to be visible and a tooltip on the points ?
thanks,
Mihaela.