Search found 12 matches

by riadhhwajdii
Fri Apr 16, 2010 2:36 pm
Forum: JFreeChart
Topic: Performance in Jfreechart
Replies: 3
Views: 5618

Re: Performance in Jfreechart

Hello, I think your problem is not coming from the chart at all. If you get an out of memory after a while this is probably because your charts are kept in memory. The lowest memory consumption would be to recreate the chart each time it is requested but this could eventually be heavy for the proce...
by riadhhwajdii
Fri Apr 16, 2010 11:17 am
Forum: JFreeChart
Topic: Performance in Jfreechart
Replies: 3
Views: 5618

Performance in Jfreechart

Hi I used jfreechart 1.0.13 for a real time charting in a web application I used a timeSerie chart I have 10 chart that i update every 20 second My problem is that after a time, i get an OutOfMemoryException Is there any way to avoid this problem or some best practice to use to consume less memory (...
by riadhhwajdii
Mon Sep 14, 2009 8:14 am
Forum: JFreeChart
Topic: problem with ChartUtilities.saveChartAsPNG(file1, chart, 400
Replies: 1
Views: 3600

problem with ChartUtilities.saveChartAsPNG(file1, chart, 400

hi i'm developping a web application with JSF to updates my charts, i'm calling the methode ChartUtilities.saveChartAsPNG(file1, chart, 400, 300, null); every 10seconds my application become more slow until it generates this error: javax.faces.el.EvaluationException: java.lang.OutOfMemoryError: Java...
by riadhhwajdii
Tue Sep 08, 2009 8:27 am
Forum: JFreeChart
Topic: how to change the lines color in a multiple line chart
Replies: 1
Views: 5586

how to change the lines color in a multiple line chart

hi
i have a multiple line chart.
the color of every line is generated automatically
i would like to set my own color to the differents line
how can i do this
by riadhhwajdii
Thu Sep 03, 2009 1:48 pm
Forum: JFreeChart
Topic: problem with the class Minute
Replies: 1
Views: 2536

problem with the class Minute

hi i am using a DateAxis my problem is that when i add new value dataset.getSeries(0).addOrUpdate(new Minute(minute,new Hour()),Integer.parseInt(valAtt)); i get the date format like hh:mm:s or in my axis i have axis.setDateFormatOverride(new SimpleDateFormat("hh:mm")) and because i do the update eve...
by riadhhwajdii
Thu Sep 03, 2009 12:03 pm
Forum: JFreeChart
Topic: set decimal value in my y axis
Replies: 1
Views: 3156

set decimal value in my y axis

hi,
my y axis show me value like 10.0000
how can i show in my y axis only decimal values(ex:10)
by riadhhwajdii
Tue Sep 01, 2009 8:34 am
Forum: JFreeChart
Topic: update my chart
Replies: 3
Views: 8207

Re: update my chart

i am using timeseries but the update is not done there is my code: public TestJfreeChart() { } public String generateChartMethod(){ JFreeChart chart = ChartFactory.createTimeSeriesChart( "Test", // title "Date", // x-axis label "Nombre", // y-axis label getDataset(), // data true, // create legend? ...
by riadhhwajdii
Tue Sep 01, 2009 8:12 am
Forum: JFreeChart
Topic: how to update my Linechart
Replies: 3
Views: 6625

Re: how to update my Linechart

could you please explain more there is my class: public class TestJfreeChart implements DatasetChangeListener { XYDataset dataset; public TestJfreeChart() { } public String generateChartMethod(){ System.out.println("Appel de generateChartMethod"); JFreeChart chart = ChartFactory.createTimeSeriesChar...
by riadhhwajdii
Mon Aug 31, 2009 10:46 am
Forum: JFreeChart
Topic: how to update my Linechart
Replies: 3
Views: 6625

how to update my Linechart

hi
i red in jfreechart Developer Guide that JFreeChart uses an event notification mechanism to update a chart
but i don't know how to implement DatasetChangeListener and DatasetChangeEvent
please help me :(
by riadhhwajdii
Sat Aug 29, 2009 1:39 pm
Forum: JFreeChart
Topic: java.io.FileNotFoundException:error in showing my chart
Replies: 1
Views: 3397

java.io.FileNotFoundException:error in showing my chart

hi i would like to preveiw a chart with jfreechart my java code is : public String generateChartMethod(){ JFreeChart chart = ChartFactory.createTimeSeriesChart( "Test", // title "Date", // x-axis label "Nombre", // y-axis label getDataset(), // data true, // create legend? true, // generate tooltips...
by riadhhwajdii
Sat Aug 29, 2009 10:20 am
Forum: JFreeChart
Topic: update my chart
Replies: 3
Views: 8207

update my chart

hi
i succeded to show a graph using JFreeChart library
My problem is that i have dynamic data to show on the graph, every periode of time i had new data
hiow can i update my graph when receiving new data
please help me?
by riadhhwajdii
Tue Aug 25, 2009 10:14 am
Forum: JFreeChart
Topic: chose my one scale in the x-axis and for timeseries chart
Replies: 1
Views: 2931

chose my one scale in the x-axis and for timeseries chart

hi
i am using timeseries chart
i would like to use my one scale in the x-axis and y-axis(for example for the y-axis: every 2 unit)
how can i do this