Examples of PlotAxes


Examples of nl.topicus.wqplot.options.PlotAxes

    chart4series1.setLabel("Rising line");
    chart4series1.getMarkerOptions().setStyle(PlotMarkerStyle.square);

    chart4O.addNewSeries().setLabel("Declining line");

    PlotAxes chart4axes = chart4O.getAxes();
    chart4axes.getXaxis().setTicks(
      Arrays.asList(new PlotTick(0, "zero"), new PlotTick(1, "one"), new PlotTick(2, "two"),
        new PlotTick(3, "three"), new PlotTick(4, "four"), new PlotTick(5, "five")));

    chart4axes.getYaxis().setTicks(-5, 0, 5, 10, 15, 20, 25, 30).getTickOptions()
      .setFormatString("%d");

    add(chart4);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.