Search found 19 matches

by zinZ
Thu Aug 02, 2007 8:59 am
Forum: JFreeChart
Topic: EighthASecond sampling period for TimeSeriesChart.
Replies: 2
Views: 4074

Oh, yes sure. I have not thunk to this solution.

I have done that by this way.

Code: Select all

x = Math.round( x / 125 ) * 125;
Thank youy for your reply.
by zinZ
Wed Aug 01, 2007 11:00 am
Forum: JFreeChart
Topic: EighthASecond sampling period for TimeSeriesChart.
Replies: 2
Views: 4074

EighthASecond sampling period for TimeSeriesChart.

Hello, I am using a TimeSeriesChart. The sampling period of my data is eighth a second. And so I would like my domainAxis to be sampled each eighth a second. For example, when I use timeAxis.java2DToValue(), I want to get an eighth a second x value and not a millisecond x value. I thank about some p...
by zinZ
Tue Jul 24, 2007 9:23 am
Forum: JFreeChart
Topic: Auto range the Y-Axis after a DomainZoom.
Replies: 1
Views: 3913

I think the method autoAdjustRange() could help me, but it is proteced.

Moreover, I don't know how to dectect a zoom event.
by zinZ
Tue Jul 24, 2007 8:12 am
Forum: JFreeChart
Topic: Auto range the Y-Axis after a DomainZoom.
Replies: 1
Views: 3913

Auto range the Y-Axis after a DomainZoom.

Hello, I have a CombinedDomainXYPlot. My chart pane is defined DomainZoomable only by setRangeZoomable(false) When I make a DomainZoom with the mouse, I want all the subplots auto adjust their y-axis range function of the range of the dataset still displayed in the plot. Am I clear or not? Is there ...
by zinZ
Mon Jul 23, 2007 3:28 pm
Forum: JFreeChart
Topic: [Resolved] Size of a plot in a combinedPlot
Replies: 4
Views: 5156

Thank you for your reply David.
However it looks a little too complicated for me.

I have found the method CharPanel.setMaximumDrawHeight(int height) which resolved my problem in addition to setPreferredSize
by zinZ
Mon Jul 23, 2007 8:28 am
Forum: JFreeChart
Topic: [Resolved] Size of a plot in a combinedPlot
Replies: 4
Views: 5156

Thank you for your reply.
By default they all have the same weight, so I don't need to change that.

In fact I need to set their height to 300. Because I have 8 plot, then the scroll should be activated.

Is their a way to do that?
by zinZ
Wed Jul 18, 2007 3:02 pm
Forum: JFreeChart
Topic: [Resolved] Size of a plot in a combinedPlot
Replies: 4
Views: 5156

[Resolved] Size of a plot in a combinedPlot

Hello, Actually, my ChartPanel is in a ScrollPane and I want to activate the vertical Scroll. So I'd like to impose the size, especially the height, of the plots of my DomainCombinedXYPlot, which is in the ChartPanel. I want all the same size. I tried setPreferredSize on the ChartPanel but it doesn'...
by zinZ
Tue Jul 17, 2007 9:58 am
Forum: JFreeChart
Topic: How to delete space at the start and end of a Time Chart ?
Replies: 2
Views: 3741

Please, could somebody help me ?

Or maybe my post is not clear?
by zinZ
Tue Jul 17, 2007 9:54 am
Forum: JFreeChart
Topic: How to get a mouse click domain value ?
Replies: 2
Views: 4387

Thank you for your reply David. I found this code on this forum in the subject : Crosshairs, tracelines, markers But I thank it was code. I didn't see the source of MouseListenerDemo because they are not in the Demo. I am working with it. I will use the method java2DToValue, and some methods of Cros...
by zinZ
Tue Jul 17, 2007 8:13 am
Forum: JFreeChart
Topic: How to get a mouse click domain value ?
Replies: 2
Views: 4387

How to get a mouse click domain value ?

Hello, I would find a method that get the domaine value (on a TimeSeriesChart) of a mouse click. I find that code on a former thread but I don't find it in the librairy. You can add a ChartMouseListner to achieve that. You can capture the anchor point (mouse click) and the distance (mouse move). The...
by zinZ
Mon Jul 16, 2007 10:57 am
Forum: JFreeChart
Topic: How to delete space at the start and end of a Time Chart ?
Replies: 2
Views: 3741

How to delete space at the start and end of a Time Chart ?

Hello,

I use a TimeSeriesChart, but the curve doesn't start at the beginning of the plot and finnish before the end.

I want to delete those tow spaces, how can I do.

Thank you.
by zinZ
Fri Jul 13, 2007 1:31 pm
Forum: JFreeChart
Topic: How to get started with JFREEChart ???
Replies: 4
Views: 6731

Hi, I know a way to do that, I am not sure it's the best one but it works well for me. In the propreties of your project select Bulid Path then Libraries. You must Add External JARs and then add the JAR files of the librairy JFreeChart, which are jcommon and jfreechart. I can't help you about Ant be...
by zinZ
Fri Jul 13, 2007 9:01 am
Forum: JFreeChart
Topic: Can jFreeChart help me?
Replies: 7
Views: 9851

You should look at the demo at Miscellaneous/Dynamic Charts.
Maybe it is that you search.
by zinZ
Fri Jul 13, 2007 8:52 am
Forum: JFreeChart
Topic: [Resolved]Synchronized Zoom for different ChartPanel.
Replies: 2
Views: 3751

Thank you a lot.

I have just overrided the domain axis created by ChartFactory for all
XYPlot.
It works very well.

I didin't think that could be as simple as that.
by zinZ
Thu Jul 12, 2007 5:01 pm
Forum: JFreeChart
Topic: [Resolved]Synchronized Zoom for different ChartPanel.
Replies: 2
Views: 3751

[Resolved]Synchronized Zoom for different ChartPanel.

Hello world, I would like to to synchronize the DomainZoom between several ChartPanel whose the XYPlot have all the same domain (time actually). i.e. when I zoom in one of the ChartPanel, I want that all the others are automatically zoomed at the same way. I don't know if a fonction like that is alr...