After migrated to 1.0.0-pre2 I now have a current version of
my improved LogarithmicAxis. It is compatible to the
JFreeChart LogarithmicAxis, so best would be to replace its
code with this one ;-)
It supports custom logarithm bases and tick label factors.
With this enhanced LogarithmicAxis, even more
sophisticated mathematical/financial axis can be realised
(e.g. PercentageAxis).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is not a wrong package declaration, it is _my_ package declaration (just
an example). Of course, I can't use org.jfree.chart.axis as it doesn't belong to
the JFreeChart API. The author of JFreeChart has to decide if he wants to
include this class into the JFreeChart API. Then it would be renamed to its
package name. So, nothing "wrong" here ... (you should read the Java
Tutorial about package names!).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found out that this class will distort my graphs if the data values are
between 0 and 1. If I shift (multiply) my data to values above 1,
MyLogarithmicAxis behaves as expected (i.e. behaves like the original
LogarithmicAxis).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The current version just implements a vertical improvement. If you hase it as a horizontal axis, it behaves like the original JFreeChart LogarithmicAxis ... including the problems for values < 1. The next version will also support horizontal axis.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Current JFreeChart LogarithmicAxis
LogarithmicAxis with more functionality
Logged In: YES
user_id=667728
Here's the screenshot of the updated LogarithmicAxis
Logged In: YES
user_id=667728
Here's the screenshot with an example chart of the
PercentageAxis
Logged In: YES
user_id=667728
And a screenshot of a NumberAxis example compared to the
PercentageAxis (same values).
Java source code
Logged In: YES
user_id=667728
And here' comes the source:
Logged In: YES
user_id=667728
After migrated to 1.0.0-pre2 I now have a current version of
my improved LogarithmicAxis. It is compatible to the
JFreeChart LogarithmicAxis, so best would be to replace its
code with this one ;-)
It supports custom logarithm bases and tick label factors.
With this enhanced LogarithmicAxis, even more
sophisticated mathematical/financial axis can be realised
(e.g. PercentageAxis).
1.0.0-pre-2 compliant Version of enhanced LogarithmicAxis
Logged In: NO
The attached file has a wrong package declaration:
package chart;
The correct one should be
package org.jfree.chart.axis;
Logged In: YES
user_id=667728
This is not a wrong package declaration, it is _my_ package declaration (just
an example). Of course, I can't use org.jfree.chart.axis as it doesn't belong to
the JFreeChart API. The author of JFreeChart has to decide if he wants to
include this class into the JFreeChart API. Then it would be renamed to its
package name. So, nothing "wrong" here ... (you should read the Java
Tutorial about package names!).
Updated to JFreeChart 1.0.0-rc1
Logged In: YES
user_id=1475993
I found out that this class will distort my graphs if the data values are
between 0 and 1. If I shift (multiply) my data to values above 1,
MyLogarithmicAxis behaves as expected (i.e. behaves like the original
LogarithmicAxis).
Logged In: YES
user_id=667728
Originator: YES
The current version just implements a vertical improvement. If you hase it as a horizontal axis, it behaves like the original JFreeChart LogarithmicAxis ... including the problems for values < 1. The next version will also support horizontal axis.
New: refreshTicksHorizontal()
Logged In: YES
user_id=667728
Originator: YES
New version of MyLogarithmicAxis with that now supports horizontal axis.
File Added: MyLogarithmicAxis.java