Package net.sourceforge.cruisecontrol.util

Examples of net.sourceforge.cruisecontrol.util.TimeNumberFormat


    /**
     * @param plot
     */
    private void setYAxisFormat(XYPlot plot) {
        NumberAxis yAxis = (NumberAxis) plot.getVerticalAxis();
        NumberFormat yAxisFormat = new TimeNumberFormat();
        yAxis.setNumberFormatOverride(yAxisFormat);
        yAxis.setMinimumAxisValue(0);
        yAxis.setMaximumAxisValue(24 * 60 * 60 * 1000);
        yAxis.setTickUnit(new NumberTickUnit(2 * 60 * 60 * 1000));
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.cruisecontrol.util.TimeNumberFormat

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.