Menu

#139 Enhanced LogarithmicAxis

open
nobody
None
5
2005-04-01
2003-07-17
m.hilpert
No

I adjusted my LogarithmicAxis and PercentageAxis to the
changed API of JFreeChart 0.9.9. Attached are
screenshots and code.

Discussion

  • m.hilpert

    m.hilpert - 2003-07-17

    Current JFreeChart LogarithmicAxis

     
  • m.hilpert

    m.hilpert - 2003-07-17

    LogarithmicAxis with more functionality

     
  • m.hilpert

    m.hilpert - 2003-07-17

    Logged In: YES
    user_id=667728

    Here's the screenshot of the updated LogarithmicAxis

     
  • m.hilpert

    m.hilpert - 2003-07-17

    Logged In: YES
    user_id=667728

    Here's the screenshot with an example chart of the
    PercentageAxis

     
  • m.hilpert

    m.hilpert - 2003-07-17

    Logged In: YES
    user_id=667728

    And a screenshot of a NumberAxis example compared to the
    PercentageAxis (same values).

     
  • m.hilpert

    m.hilpert - 2003-07-17
    • summary: Better LogarithmicAxis and PercentageAxis --> Better LogarithmicAxis
     
  • m.hilpert

    m.hilpert - 2003-07-17

    Java source code

     
  • m.hilpert

    m.hilpert - 2003-07-17

    Logged In: YES
    user_id=667728

    And here' comes the source:

     
  • m.hilpert

    m.hilpert - 2005-04-01

    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).

     
  • m.hilpert

    m.hilpert - 2005-04-01

    1.0.0-pre-2 compliant Version of enhanced LogarithmicAxis

     
  • m.hilpert

    m.hilpert - 2005-04-01
    • summary: Better LogarithmicAxis --> Enhanced LogarithmicAxis
     
  • Nobody/Anonymous

    Logged In: NO

    The attached file has a wrong package declaration:
    package chart;

    The correct one should be
    package org.jfree.chart.axis;

     
  • m.hilpert

    m.hilpert - 2005-04-29

    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!).

     
  • m.hilpert

    m.hilpert - 2005-11-15

    Updated to JFreeChart 1.0.0-rc1

     
  • blutfink

    blutfink - 2006-03-14

    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).

     
  • m.hilpert

    m.hilpert - 2006-12-04

    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.

     
  • m.hilpert

    m.hilpert - 2007-03-13

    New: refreshTicksHorizontal()

     
  • m.hilpert

    m.hilpert - 2007-03-13

    Logged In: YES
    user_id=667728
    Originator: YES

    New version of MyLogarithmicAxis with that now supports horizontal axis.
    File Added: MyLogarithmicAxis.java

     

Log in to post a comment.