I just completed a prototype application using ICE Faces components and Jfree charts. The best part is the interactiveness it gives, i can look at charts almost realtime, change the axis range, dynamically overlay multiple data sets all without refreshing the whole page.aloleary wrote:Any comments on JSF / Chart Creator having any Ajax support capability ? like Ajax4JSF wrapper etc ...
This would be fantastic... Imagine a JFree chart dynamically updating in the page without page re-load...
Any pointers on anyone working on this ... if not I will try and make something using Ajax4Jsf
-A-
JSF Chart Creator
Hello,
I want to do a TimeSeries graph (like the pricevolume demo) but with bars (reprensented by the volume).
In the example, they make a chart, and change the renderer of the chart's plot.
I would like to do the same but i can't find how...
For now, I just return a TimeSeriesCollection in the datasource property with the type timeseries.
Is there a way to define that it should be rendered in bars and not axis ?
Thanks.
I want to do a TimeSeries graph (like the pricevolume demo) but with bars (reprensented by the volume).
In the example, they make a chart, and change the renderer of the chart's plot.
I would like to do the same but i can't find how...
For now, I just return a TimeSeriesCollection in the datasource property with the type timeseries.
Is there a way to define that it should be rendered in bars and not axis ?
Thanks.
Hi cagatay_civici
I have tryed to use also Chart Creator in a portlet but in JBoss Portal have you fixed this or is still under development ... the chart does not appear !!!
-
- Posts: 3
- Joined: Wed Nov 07, 2007 7:59 pm
Hi cagatay_civici -printed the images are blank,only
Hi, I have big problem ,as I am able to see the images but when I printed the images are blank,only when I select 'Every Vist to the Page' In IE 6.0 option(tools-internetOption-under general tab setting, selecting Every vist to the Page', as my client done't want to store in cache, so its matter of printing the image, I am not getting any idea how to fix this problem.
if any one have solutions that will be great
Thanks
Srikanth
if any one have solutions that will be great
Thanks
Srikanth
-
- Posts: 3
- Joined: Wed Nov 07, 2007 7:59 pm
Re: Hi cagatay_civici -printed the images are blank,only
srikanthgsk wrote:Hi, I have big problem ,as I am able to see the images but when I printed the images are blank,only when I select 'Every Vist to the Page' In IE 6.0 option(tools-internetOption-under general tab setting, selecting Every vist to the Page', as my client done't want to store in cache, so its matter of printing the image, I am not getting any idea how to fix this problem.
if any one have solutions that will be great
I solved the problem, I commented the //emptySession(sessionMap, id);
in ChartListener and also Chartlet, now its working fine.
Thanks
Srikanth
-
- Posts: 3
- Joined: Fri Feb 15, 2008 7:18 am
-
- Posts: 7
- Joined: Mon Jun 18, 2007 8:15 am
- Location: Kathmandu
- Contact:
Adding Secondary Range dataset in Line chart
Hello all, I'm bit confused in using the Chart Creater. The <c:chartAxis> is assumed to add Child component to customize an axis. I tried it with xyline chart as provided in demo. and works fine :
But when similar approach is taken for line chart it only shows primary range data set.
Shouldn't this code be working??
Please any Help??
Code: Select all
<c:chart id="chart2" datasource="#{myBack.firstXYDataset}" xlabel="Month" ylabel="Paid $" type="xyline" is3d="false" legendBorder="false" legendFontSize="12">
<c:chartAxis id="cntAxis" label="Count"
verticalTickLabels="true" tickMarks="true"
datasource="#{myBack.secondXYDataset}"
tickLabelFontSize="12" />
</c:chart>
Code: Select all
<c:chart id="chart3" datasource="#{myBack.categoryDataset}" xlabel="Month" ylabel="Paid $" type="line" is3d="false" legendBorder="false" legendFontSize="12">
<c:chartAxis id="cntAxis1" label="Count" verticalTickLabels="true" tickMarks="true" datasource="#{myBack.secondaryCategoryDataset}" tickLabelFontSize="12" />
</c:chart>
Please any Help??
-
- Posts: 7
- Joined: Mon Jun 18, 2007 8:15 am
- Location: Kathmandu
- Contact:
Bug: ChartAxis's rendered="false"
if ChartAxis's rendered="false" is set, the renderer still renderes the chartaxis.
Code: Select all
<c:chart generateMap="true" id="chart9" datasource="#{myCharts.categoryDataset}"
xlabel="Month" ylabel="Paid Amount" type="line" is3d="false"
legendBorder="false" legendFontSize="12" startAngle="30">
<c:chartAxis id="cntAxis123" label="Count" verticalTickLabels="true" rendered="false"
tickMarks="true" datasource="#{myCharts.secondaryCategoryDataset}"
tickLabels="true" tickLabelFontSize="12" />
</c:chart>
Hello everybody,
Mr cagatay_civici, please I am facing problem with chartcreator. when I add jsf-comp.jar to my project it dosen't work and tomcat indicate error like this:
org.apache.jasper.JasperException: L'uri absolue: http://sourceforge.net/projects/jsf-comp ne peut être résolu dans le fichier web.xml ou dans les fichiers jar déployés avec cette application
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
.....
I configured jsf and it works good with my project. when I add chartcreator to my project as a user librairy it indicate the error above.
Why chartcreator jar contains "faces-config.xml"? already I have it with my jsf??!! should I delete it or copy its content to my old "faces-config.xml".
Please help me I need your help because I m blocked at this stage.
Best regards.
Mr cagatay_civici, please I am facing problem with chartcreator. when I add jsf-comp.jar to my project it dosen't work and tomcat indicate error like this:
org.apache.jasper.JasperException: L'uri absolue: http://sourceforge.net/projects/jsf-comp ne peut être résolu dans le fichier web.xml ou dans les fichiers jar déployés avec cette application
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
.....
I configured jsf and it works good with my project. when I add chartcreator to my project as a user librairy it indicate the error above.
Why chartcreator jar contains "faces-config.xml"? already I have it with my jsf??!! should I delete it or copy its content to my old "faces-config.xml".
Please help me I need your help because I m blocked at this stage.
Best regards.
-
- Posts: 2
- Joined: Fri May 18, 2007 6:58 am
- Location: Melbourne, Vic, Australia
No, you leave the faces-config.xml file where it is (in the meta-inf dir) inside the jar.pacomou wrote:Hello everybody,
I configured jsf and it works good with my project. when I add chartcreator to my project as a user librairy it indicate the error above.
Why chartcreator jar contains "faces-config.xml"? already I have it with my jsf??!! should I delete it or copy its content to my old "faces-config.xml".
Please help me I need your help because I m blocked at this stage.
Best regards.
This is the correct packaging for JSF components.
Showing percentages in pie chart labels
Hi,
Is it possible to customize the pie chart labels in jsf chart creator? i.e., right now all the labels are just the category you use in the dataset (A,B,C,etc.), but I would like to have the % numbers in there as well (A 10%, B 15%, C 75%).
This is possible in JFreeChart according to the docs, but I'm just not sure how to access it in my JSF page with chart Creator.
Thanks
Is it possible to customize the pie chart labels in jsf chart creator? i.e., right now all the labels are just the category you use in the dataset (A,B,C,etc.), but I would like to have the % numbers in there as well (A 10%, B 15%, C 75%).
This is possible in JFreeChart according to the docs, but I'm just not sure how to access it in my JSF page with chart Creator.
Thanks
Pie chart labels
Hi all, it seems the below post might address my problem of showing percentages on the legend/labels on pie charts. The legendContainer still isn't integrated, but is it available anywhere? Is JSF chart creator still being maintained or has it been superseded?
Thanks again
Thanks again
Chris Graham wrote: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?
-
- Posts: 3
- Joined: Fri Jul 11, 2008 2:53 pm
Chart Creator and Dial/Meters
By looking at the TLD, it seems to not support this type of chart. Does it? Are there any plans if it does not.
Thanks!
Thanks!
-
- Posts: 1
- Joined: Thu Aug 07, 2008 2:32 am
StackedAreaGraphs
have big white bars in them. Looking at general jfreechart posts it looks like this is because the renderer now has margins. There doesn't appear to be anyway to set the margins to zero in chartcreator, any chance this could be patched? Seems easy enough to do.