Package org.jfree.chart.axis

Examples of org.jfree.chart.axis.TickUnitSource


            NumberAxis numberAxis = (NumberAxis) axis;
            if (tickInterval > 0) {
                NumberTickUnit tickUnit = new NumberTickUnit(tickInterval);
                numberAxis.setTickUnit(tickUnit);
            } else if (tickInterval == -1) {
                TickUnitSource tickUnits = NumberAxis.createIntegerTickUnits();
                numberAxis.setStandardTickUnits(tickUnits);
            } else {
                throw new FacesException("tickInterval must be a positive number for a fixed tick interval, " +
                        "or -1 for automatic integer tick selection: " + tickInterval);
            }
View Full Code Here

TOP

Related Classes of org.jfree.chart.axis.TickUnitSource

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.