#212 Improvements to Axis Ticks and Labels

open
None
7
2008-04-18
2008-04-15
No

The changes made fall into several categories and were used to satisfy our requirements for the chart package we use in the Quantrix Modeler application.

1. Get rendering information about the axis and axis label.
Classes affected: AxisState, Axis, CategoryAxis, CategoryAxis3D, CyclicNumberAxis, LogarithmicAxis, NumberAxis, NumberAxis3D, PlotRenderingInfo
New Class: AxisRenderingInfo – used to register axis and label bounds for an axis

2. Draw rotated labels on Value Axis
Classes affected: ValueAxis, NumberAxis, LogarithmicAxis
New Class: NumberBlockTick

3. Allow user selected grid and tick spacing of both category and value axes.
Classes affected: Axis, CategoryAxis, ValueAxis, CategoryPlot, XYPlot

4. Allow user to set origin, gridLinesVisible and gridLineStoke and gridLinePaint on per axis basis.
Classes affected: ValueAxis

Discussion

  • Brian Cabana

    Brian Cabana - 2008-04-15

    Logged In: YES
    user_id=2060647
    Originator: YES

    File Added: AxisState.java

     
  • Brian Cabana

    Brian Cabana - 2008-04-15

    Logged In: YES
    user_id=2060647
    Originator: YES

    File Added: AxisState.patch.txt

     
  • Brian Cabana

    Brian Cabana - 2008-04-15

    Logged In: YES
    user_id=2060647
    Originator: YES

    File Added: AxisRenderingInfo.java

     
  • Brian Cabana

    Brian Cabana - 2008-04-15

    Collection of patch and java files

     
  • Brian Cabana

    Brian Cabana - 2008-04-15

    Logged In: YES
    user_id=2060647
    Originator: YES

    File Added: axischanges.zip

     
  • David Gilbert

    David Gilbert - 2008-04-18

    Logged In: YES
    user_id=112975
    Originator: NO

    Hi Brian,

    Thanks for this, it looks really interesting. I'm in the process of getting JFreeChart 1.0.10 released. This patch is probably going to require a bit of testing, so I will do the review after the 1.0.10 release, with the aim of getting it incorporated into the 1.0.11 release.

    Regards,

    Dave Gilbert
    JFreeChart Project Leader

     
  • David Gilbert

    David Gilbert - 2008-04-18
    • priority: 5 --> 7
    • assigned_to: nobody --> mungady
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks