Examples of PlotTick


Examples of nl.topicus.wqplot.options.PlotTick

    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

Examples of nl.topicus.wqplot.options.PlotTick

    chart1O.getAxesDefaults().getTickOptions().setFormatString("%d");

    chart1O.getAxes().getXaxis().setBorderWidth(2d);
    chart1O.getAxes().getXaxis().setBorderColor("#999999");
    chart1O.getAxes().getXaxis()
      .setTicks(Arrays.asList(new PlotTick(2010), new PlotTick(2040)));
    chart1O.getAxes().getXaxis().getTickOptions().setShowGridline(false);

    chart1O.getAxes().getY2axis().setBorderWidth(0d);
    chart1O.getAxes().getY2axis().setBorderColor("#ffffff");
    chart1O.getAxes().getY2axis().setAutoscale(true);
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.