All,
I am working on a software which has a lot of visualization of data and scatter plot and histogram in specific. I need to know if JFreeChart can do all of the below without much of the tweaking of the other code. It will be nice if somebody can help us with it.
1. Ability to select a point or a group of points from the scatter plot and flag them.
2. Abilty to zoom into the scatter plot by clicking and dragging into the scatter plot.
3. Abilty to enlarge the scatter plot by clicking on a button or somewhere in the scatter plot.
4. Ability to zoom Horizontally in an Histogram
5. Abilty to transform axis from normal to log axis.
6. We have a line which is drawn by the equation y=ax+b.
We need to move the line with the help of various keys and then the values of a and b should be able to adjust itself based on the basis of the redrawn plot.
It will be nice if I can get an answer to this at your earliest convinience.
This is very urgent
Re: This is very urgent
Hi Chandresh,
It's best if you use a more descriptive title for your post, it helps others scanning the topics to decide whether the content of your message is relevant to them without having to read every message.
Chandresh Juthani wrote:
> All,
>
> I am working on a software which has a lot of visualization
> of data and scatter plot and histogram in specific. I need
> to know if JFreeChart can do all of the below without much of
> the tweaking of the other code. It will be nice if somebody
> can help us with it.
>
> 1. Ability to select a point or a group of points from the
> scatter plot and flag them.
Chart events can be listened for to tell when you have clicked on a point, but you need to add your own code to provide any special behaviour.
> 2. Abilty to zoom into the scatter plot by clicking and
> dragging into the scatter plot.
This has been added recently. It works fairly well, but a few issues need to be ironed out.
> 3. Abilty to enlarge the scatter plot by clicking on a button
> or somewhere in the scatter plot.
There are zooming options on the pop-up menu (right click).
> 4. Ability to zoom Horizontally in an Histogram
Zoom or pan left and right? You can zoom either axis in an XYPlot but panning hasn't been implemented yet.
> 5. Abilty to transform axis from normal to log axis.
Log axes are available, but switching between log and normal axes has to be done in code (it's not yet available in the property editors).
> 6. We have a line which is drawn by the equation y=ax+b.
> We need to move the line with the help of various keys and
> then the values of a and b should be able to adjust itself
> based on the basis of the redrawn plot.
Not implemented.
Regards,
DG.
It's best if you use a more descriptive title for your post, it helps others scanning the topics to decide whether the content of your message is relevant to them without having to read every message.
Chandresh Juthani wrote:
> All,
>
> I am working on a software which has a lot of visualization
> of data and scatter plot and histogram in specific. I need
> to know if JFreeChart can do all of the below without much of
> the tweaking of the other code. It will be nice if somebody
> can help us with it.
>
> 1. Ability to select a point or a group of points from the
> scatter plot and flag them.
Chart events can be listened for to tell when you have clicked on a point, but you need to add your own code to provide any special behaviour.
> 2. Abilty to zoom into the scatter plot by clicking and
> dragging into the scatter plot.
This has been added recently. It works fairly well, but a few issues need to be ironed out.
> 3. Abilty to enlarge the scatter plot by clicking on a button
> or somewhere in the scatter plot.
There are zooming options on the pop-up menu (right click).
> 4. Ability to zoom Horizontally in an Histogram
Zoom or pan left and right? You can zoom either axis in an XYPlot but panning hasn't been implemented yet.
> 5. Abilty to transform axis from normal to log axis.
Log axes are available, but switching between log and normal axes has to be done in code (it's not yet available in the property editors).
> 6. We have a line which is drawn by the equation y=ax+b.
> We need to move the line with the help of various keys and
> then the values of a and b should be able to adjust itself
> based on the basis of the redrawn plot.
Not implemented.
Regards,
DG.
Re: This is very urgent
How do I activate the functionality referred to below?
Thanks,
Ted Hill
========================================
> 2. Abilty to zoom into the scatter plot by clicking and
> dragging into the scatter plot.
This has been added recently. It works fairly well, but a few issues need to be ironed out.
Thanks,
Ted Hill
========================================
> 2. Abilty to zoom into the scatter plot by clicking and
> dragging into the scatter plot.
This has been added recently. It works fairly well, but a few issues need to be ironed out.
Re: This is very urgent
Try the following methods in the ChartPanel class:
chartPanel.setHorizontalZoom(true);
chartPanel.setVerticalZoom(true);
...and maybe also:
chartPanel.setHorizontalAxisTrace(true);
chartPanel.setVerticalAxisTrace(true);
Regards,
DG.
chartPanel.setHorizontalZoom(true);
chartPanel.setVerticalZoom(true);
...and maybe also:
chartPanel.setHorizontalAxisTrace(true);
chartPanel.setVerticalAxisTrace(true);
Regards,
DG.