Package com.positive.charts.axis

Examples of com.positive.charts.axis.DateAxis$DefaultTimeline


  public static Chart createTimeSeriesChart(final String title,
      final String timeAxisLabel, final String valueAxisLabel,
      final XYDataset dataset, final boolean legend,
      final boolean tooltips, final boolean urls) {

    final ValueAxis timeAxis = new DateAxis(timeAxisLabel);
    timeAxis.setLowerMargin(0.02); // reduce the default margins
    timeAxis.setUpperMargin(0.02);
    final NumberAxis valueAxis = new NumberAxis(valueAxisLabel);
    valueAxis.setAutoRangeIncludesZero(false); // override default
    final XYPlot plot = new XYPlot(dataset, timeAxis, valueAxis, null);

    // XYToolTipGenerator toolTipGenerator = null;
View Full Code Here

TOP

Related Classes of com.positive.charts.axis.DateAxis$DefaultTimeline

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.