#211 Minor Ticks and grids for XYPlot

closed-accepted
None
5
2008-09-25
2008-04-04
Peter Kolb
No

An XYPlot can have a minor grid for the range and/or the domain axis. The minor grid can be switched on and off and have a paint and stroke independently of the "normal" grid. For the minor grid, no tick labels or tick marks are drawn.
ValueAxis now has the property minorTickCount with a public getter/setter.
The refreshTicksVertical and refreshTicksHorizontal methods of NumberAxis and DateAxis were modified to create minorTicks dependent on the minorTickCount.
A constructor that takes a TickType argument was added to DateTickUnit.

Discussion

  • Peter Kolb

    Peter Kolb - 2008-04-04

    Logged In: YES
    user_id=1984073
    Originator: YES

    File Added: ValueAxis.patch-minortick

     
  • Peter Kolb

    Peter Kolb - 2008-04-04

    Logged In: YES
    user_id=1984073
    Originator: YES

    File Added: NumberAxis.patch-minortick

     
  • Peter Kolb

    Peter Kolb - 2008-04-04

    Logged In: YES
    user_id=1984073
    Originator: YES

    File Added: DateTick.patch-minortick

     
  • Peter Kolb

    Peter Kolb - 2008-04-04

    Logged In: YES
    user_id=1984073
    Originator: YES

    File Added: DateAxis.patch-minortick

     
  • Peter Kolb

    Peter Kolb - 2008-04-04

    Logged In: YES
    user_id=1984073
    Originator: YES

    File Added: DateTick.patch-minortick

     
  • Andrew Mickish

    Andrew Mickish - 2008-04-07

    Logged In: YES
    user_id=934634
    Originator: NO

    This patch is complementary to patch 1870189: Minor tick marks on DateAxis

     
  • Peter Kolb

    Peter Kolb - 2008-05-01

    Logged In: YES
    user_id=1984073
    Originator: YES

    File Added: XYPlot.patch-minortick-dualgrid-RSE

     
  • Peter Kolb

    Peter Kolb - 2008-07-01

    Logged In: YES
    user_id=1984073
    Originator: YES

    File Added: MinorGridTickPatch.zip

     
  • Peter Kolb

    Peter Kolb - 2008-07-01

    Updated patch for JFreeChart 1.0.10, includes minorTickMarks

     
  • Peter Kolb

    Peter Kolb - 2008-07-01

    Logged In: YES
    user_id=1984073
    Originator: YES

    Patched against JFreeChart 1.0.10.
    Some polishing done.
    Redundant private minorTickCount variable, and public setter/getter for LogAxis removed.
    Generation of minorTickMarks included

     
  • Peter Kolb

    Peter Kolb - 2008-09-13

    Bugs corrected: initial value for minorTickCount was set to 0 instead 1 in ValueAxis, and grid was faulty if minor grid was visible but major grid was not in XYPlot.
    File Added: 080913_MinorGridTickPatch_XYPlot_ValueAxis.zip

     
  • Peter Kolb

    Peter Kolb - 2008-09-23

    Source files uploaded. Probably need to understand how gnu diffutils work.
    File Added: 080923_MinorGridTickPatch_Source.zip

     
  • Peter Kolb

    Peter Kolb - 2008-09-24

    combined patch for all source files

     
  • Peter Kolb

    Peter Kolb - 2008-09-24

    now the resulting source tree will even be compilable
    File Added: MinorTicks.zip

     
  • David Gilbert

    David Gilbert - 2008-09-25

    Thanks for all your work on this. I've committed this (with a few minor corrections here and there) to Subversion for inclusion in the 1.0.12 release.

    Regards,

    Dave Gilbert
    JFreeChart Project Leader

     
  • David Gilbert

    David Gilbert - 2008-09-25
    • assigned_to: nobody --> mungady
    • status: open --> closed-accepted
     

Log in to post a comment.