Hi
I have to create a chart (line, bar, combination) with more than 1 vertical axis. I mean, I use a horizontal axis (date, time) who is shared from all values. The vertical axis isn't shared! One of the dataset uses one vertical axis, the other uses the other one. It should be possible that both axis on the left side of the chart or one is on the left and the other on the right side.
How can I do that?
Is that possible with JFreeChart?
Thanks for help
Regard
Hans
More than 1 vertical axis
Re: More than 1 vertical axis
Hi Hans,
This isn't possible in 0.9.4 - however, there is code in CVS now that allows dual axes (one on each side of the chart), so it will be possible in 0.9.5 when it is released. You can check out the CVS code on the JFreeChart project page at SourceForge. If you do grab a copy of the CVS code, the PriceVolumeDemo.java file has been updated to make use of the new feature.
Regards,
Dave Gilbert
This isn't possible in 0.9.4 - however, there is code in CVS now that allows dual axes (one on each side of the chart), so it will be possible in 0.9.5 when it is released. You can check out the CVS code on the JFreeChart project page at SourceForge. If you do grab a copy of the CVS code, the PriceVolumeDemo.java file has been updated to make use of the new feature.
Regards,
Dave Gilbert
Re: More than 1 vertical axis
Hi
Is a release date for the new version available? For me its an important feature, so I hope it would be soon.
Thanks
Regards
Hans
Is a release date for the new version available? For me its an important feature, so I hope it would be soon.
Thanks
Regards
Hans
Re: More than 1 vertical axis
I'm aiming for 0.9.5 to be released towards the end of January, but there are a lot of uncontrollable factors so I can never guarantee it...
Regards,
DG
Regards,
DG
Re: More than 1 vertical axis
Hi David
I know that about the uncontrollabe factors, there are so many things who affects a project.
Unfortunately, the end of January is probably too late for me. We have a deadline for our project at the end of March and I have to implement the charts as soon as possible.
Maybe its possible to have a beta version of the new release?
Thanks for your efforts and merry christmas.
Regards
Hans
I know that about the uncontrollabe factors, there are so many things who affects a project.
Unfortunately, the end of January is probably too late for me. We have a deadline for our project at the end of March and I have to implement the charts as soon as possible.
Maybe its possible to have a beta version of the new release?
Thanks for your efforts and merry christmas.
Regards
Hans
Re: More than 1 vertical axis
You can normalize the values of both lines to a single scale then show the scaling factor for each in the legends. This will get you to started before the feature is in the product.
Re: More than 1 vertical axis
Hi Hans,
The latest JFreeChart code (including dual axes) is publically available via CVS on the JFreeChart project page at SourceForge:
http://sourceforge.net/projects/jfreechart
Regards,
Dave Gilbert
The latest JFreeChart code (including dual axes) is publically available via CVS on the JFreeChart project page at SourceForge:
http://sourceforge.net/projects/jfreechart
Regards,
Dave Gilbert