Search found 13 matches
- Fri Sep 21, 2012 2:27 pm
- Forum: JFreeChart
- Topic: zoomInBoth and zoomOutBoth functions
- Replies: 0
- Views: 2456
zoomInBoth and zoomOutBoth functions
Hello, I created a JFrechart graph and I would likte to zoom in or out when I use the mouse wheel. For that I used a MouseWheel listener and I used the code that I find on this webpage : http://www.jfree.org/forum/viewtopic.php?f=10&t=22919 Whatever are the values of the parameters of the functions ...
- Tue Sep 18, 2012 3:50 pm
- Forum: JFreeChart
- Topic: Order to link points on a graph
- Replies: 4
- Views: 5004
Re: Order to link points on a graph
I find the solution. I have to define the XYSeries like this :
Thank you for your help.
Code: Select all
XYSeries series= new XYSeries("Title", false, true);
- Tue Sep 18, 2012 12:46 pm
- Forum: JFreeChart
- Topic: Order to link points on a graph
- Replies: 4
- Views: 5004
Re: Order to link points on a graph
Thank you.
To follow that you sais, I use :
But, how can I define the autosort ?
To follow that you sais, I use :
Code: Select all
XYSeries series1 = new XYSeries("title", true);
- Tue Sep 18, 2012 10:28 am
- Forum: JFreeChart
- Topic: Order to link points on a graph
- Replies: 4
- Views: 5004
Order to link points on a graph
Hello, I display point thanks to JFreeChart. These points are into an array double[]. In order to define the way to display points, I use : XYItemRenderer render2= new XYLineAndShapeRenderer(true,true); I would like to link the points in the order of they are in the array and not with their values. ...
- Fri Jun 01, 2012 2:39 pm
- Forum: JFreeChart
- Topic: Remove axis
- Replies: 1
- Views: 2676
Remove axis
Hello,
I would like to remove the axis on a jfreechart graph.
Do you know how to do ?
For the x-axis I saw that we can do :
I would like to remove the axis on a jfreechart graph.
Do you know how to do ?
For the x-axis I saw that we can do :
Code: Select all
ValueAxis range = plot2.getRangeAxis();
range.setVisible(false);
- Tue May 22, 2012 1:04 pm
- Forum: JFreeChart
- Topic: Plot by hand on scatter plot
- Replies: 4
- Views: 5378
Re: Plot by hand on scatter plot
Thank you, you're right.
That works.
That works.
- Tue May 22, 2012 11:36 am
- Forum: JFreeChart
- Topic: Plot by hand on scatter plot
- Replies: 4
- Views: 5378
Re: Plot by hand on scatter plot
Thank you for your reply. In fact, I don't have to draw point when I click on the graph but I want to get back the coordinate of the mouse. I try with frame1.addMouseListener(this); With this I can have the coordinates all over the frame when I click with the mouse exept when the mouse is on the gra...
- Tue May 22, 2012 7:51 am
- Forum: JFreeChart
- Topic: Plot by hand on scatter plot
- Replies: 4
- Views: 5378
Plot by hand on scatter plot
Hello,
I'am a french student, so I'm sorry for my English.
I have a serie of point that I plot on a scatter JFreechart.
I would like to draw points by hand when I click on the graph and get back their coordinates.
Is it possible and how to do that ?
Thank you.
Have a good day.
I'am a french student, so I'm sorry for my English.
I have a serie of point that I plot on a scatter JFreechart.
I would like to draw points by hand when I click on the graph and get back their coordinates.
Is it possible and how to do that ?
Thank you.
Have a good day.
- Mon May 21, 2012 3:16 pm
- Forum: JFreeChart
- Topic: Scatter plot with JFreeChart graph
- Replies: 4
- Views: 8729
Re: Scatter plot with JFreeChart graph
Ok, I find that I wanted :
I just have to do :
Thank you for your help Martin.
I just have to do :
Code: Select all
XYItemRenderer render2= new XYLineAndShapeRenderer(false,true);
- Mon May 21, 2012 3:03 pm
- Forum: JFreeChart
- Topic: Scatter plot with JFreeChart graph
- Replies: 4
- Views: 8729
Re: Scatter plot with JFreeChart graph
Thak you for you reply.
You are right. But if I don't use XYLineAndShapeRenderer, all series have the same color, so I can't differentiate them.
I try to use :
but this doesn't work.
Do you know how can I do ?
You are right. But if I don't use XYLineAndShapeRenderer, all series have the same color, so I can't differentiate them.
I try to use :
Code: Select all
render2.setBaseLinesVisible(false);
Do you know how can I do ?
- Mon May 21, 2012 2:23 pm
- Forum: JFreeChart
- Topic: Scatter plot with JFreeChart graph
- Replies: 4
- Views: 8729
Scatter plot with JFreeChart graph
Hello, I would like to use JFreeChart in order to plot several series of points on the same graph. Do you know how to do that ? I did this code but just my first serie is a scatter plot and for the others series the point are linked and I don't want that. I give you my code : XYSeries seriesGeo = ne...
- Wed May 16, 2012 7:59 am
- Forum: JFreeChart
- Topic: Update of a JFreeChart graph
- Replies: 2
- Views: 3908
Re: Update of a JFreeChart graph
Thank you for you reply.
I search the method to update the dataset and redisplay.
I search the method to update the dataset and redisplay.
- Tue May 15, 2012 2:21 pm
- Forum: JFreeChart
- Topic: Update of a JFreeChart graph
- Replies: 2
- Views: 3908
Update of a JFreeChart graph
Hello,
I would like to know how to update a JFreeChart graph when I click on a buton.
Somebody know how to do ?
Thank you.
Have a good day.
I would like to know how to update a JFreeChart graph when I click on a buton.
Somebody know how to do ?
Thank you.
Have a good day.