org.keridwen.modelling.monitoring.util
Class TickMarkUtil

java.lang.Object
  extended by org.keridwen.modelling.monitoring.util.TickMarkUtil

public class TickMarkUtil
extends Object

This class is used to change automatically the number of tick marks on the x axis and the y axis.

Author:
Benjamin JEANTY-RUARD - Artenum

Method Summary
static void updateDomainTickMarckCount(org.jfree.chart.axis.NumberAxis xAxis)
          Set the number of tick marks on the x axis to 5
static void updateRangeTickMarkCount(org.jfree.chart.axis.NumberAxis yAxis)
          Set the number of tick marks on the y axis to 11
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

updateRangeTickMarkCount

public static void updateRangeTickMarkCount(org.jfree.chart.axis.NumberAxis yAxis)
Set the number of tick marks on the y axis to 11

Parameters:
yAxis - the y axis which must be have this number of tick marks changed.

updateDomainTickMarckCount

public static void updateDomainTickMarckCount(org.jfree.chart.axis.NumberAxis xAxis)
Set the number of tick marks on the x axis to 5

Parameters:
xAxis - the x axis which must be have this number of tick marks changed.


Copyright © 2012-2013 Artenum. All Rights Reserved.