Examples of PlotSeries


Examples of nl.topicus.wqplot.options.PlotSeries

    PlotOptions chart1O = chart1.getOptions();
    chart1O.setTitle("Date chart");

    chart1O.getAxes().getXaxis().setRenderer(JQPlotDateAxisRenderer.get().getName());

    PlotSeries chart1series1 = chart1O.addNewSeries();
    chart1series1.setLineWidth(2d);
    chart1series1.getMarkerOptions().setStyle(PlotMarkerStyle.diamond);

    PlotSeries chart1series2 = chart1O.addNewSeries();
    chart1series2.setShowLine(true);
    chart1series2.getMarkerOptions().setSize(7d).setStyle(PlotMarkerStyle.diamond);

    PlotSeries chart1series3 = chart1O.addNewSeries();
    chart1series3.getMarkerOptions().setStyle(PlotMarkerStyle.circle);

    PlotSeries chart1series4 = chart1O.addNewSeries();
    chart1series4.setLineWidth(5d);
    chart1series4.getMarkerOptions().setSize(14d).setStyle(PlotMarkerStyle.filledSquare);

    add(chart1);
  }
View Full Code Here

Examples of nl.topicus.wqplot.options.PlotSeries

    @SuppressWarnings("unchecked")
    JQPlot chart1 =
      new JQPlot("chart1", new ListModel<NumberSeries<Double, Double>>(Arrays.asList(l1)));
    PlotOptions chart1O = chart1.getOptions();

    PlotSeries chart1series1 = chart1O.addNewSeries();
    chart1series1.setShowMarker(false);

    chart1O.getAxes().getXaxis().setLabel("Angle (radians)");
    chart1O.getAxes().getXaxis().setAutoscale(true);
    chart1O.getAxes().getYaxis().setLabel("Cosine");
    chart1O.getAxes().getYaxis().setAutoscale(true);
View Full Code Here

Examples of nl.topicus.wqplot.options.PlotSeries

    @SuppressWarnings("unchecked")
    JQPlot chart2 =
      new JQPlot("chart2", new ListModel<NumberSeries<Double, Double>>(Arrays.asList(l1)));
    PlotOptions chart2O = chart2.getOptions();

    PlotSeries chart2series1 = chart2O.addNewSeries();
    chart2series1.setShowMarker(false);

    chart2O.getAxes().getXaxis().setLabel("Angle (radians)");
    chart2O.getAxes().getXaxis().setAutoscale(true);
    chart2O.getAxes().getXaxis().setLabelRenderer("$.jqplot.CanvasAxisLabelRenderer");
    chart2O.getAxes().getYaxis().setLabel("Cosine");
View Full Code Here

Examples of nl.topicus.wqplot.options.PlotSeries

    @SuppressWarnings("unchecked")
    JQPlot chart3 =
      new JQPlot("chart3", new ListModel<NumberSeries<Double, Double>>(Arrays.asList(l1)));
    PlotOptions chart3O = chart3.getOptions();

    PlotSeries chart3series1 = chart3O.addNewSeries();
    chart3series1.setShowMarker(false);

    chart3O.getAxes().getXaxis().setLabel("Angle (radians)");
    chart3O.getAxes().getXaxis().setAutoscale(true);
    chart3O.getAxes().getXaxis().setLabelRenderer("$.jqplot.CanvasAxisLabelRenderer");
    chart3O.getAxes().getXaxis().getLabelOptions().setEnableFontSupport(true);
View Full Code Here

Examples of nl.topicus.wqplot.options.PlotSeries

      new JQPlot("chart1", new ListModel<NumberSeries<Double, Double>>(Arrays.asList(l1, l2,
        l3, l4)));
    PlotOptions chart1O = chart1.getOptions();
    chart1O.setTitle("Line Style Options");

    PlotSeries chart1series1 = chart1O.addNewSeries();
    chart1series1.setLineWidth(2d);
    chart1series1.getMarkerOptions().setStyle(PlotMarkerStyle.diamond);

    PlotSeries chart1series2 = chart1O.addNewSeries();
    chart1series2.setShowLine(false);
    chart1series2.getMarkerOptions().setSize(7d).setStyle(PlotMarkerStyle.diamond);

    PlotSeries chart1series3 = chart1O.addNewSeries();
    chart1series3.getMarkerOptions().setStyle(PlotMarkerStyle.circle);

    PlotSeries chart1series4 = chart1O.addNewSeries();
    chart1series4.setLineWidth(5d);
    chart1series4.getMarkerOptions().setSize(14d).setStyle(PlotMarkerStyle.filledSquare);

    add(chart1);
  }
View Full Code Here

Examples of nl.topicus.wqplot.options.PlotSeries

    JQPlot chart2 =
      new JQPlot("chart2", new ListModel<NumberSeries<Double, Double>>(Arrays.asList(l1)));
    PlotOptions chart2O = chart2.getOptions();
    chart2O.setTitle(new PlotTitle("Shadow Options"));

    PlotSeries chart2series1 = chart2O.addNewSeries();
    chart2series1.setLineWidth(5d);
    chart2series1.setShadowAngle(0d);
    chart2series1.setShadowOffset(1.5d);
    chart2series1.setShadowAlpha(0.08d);
    chart2series1.setShadowDepth(6);
    chart2series1.getMarkerOptions().setShow(false);

    add(chart2);
  }
View Full Code Here

Examples of nl.topicus.wqplot.options.PlotSeries

    JQPlot chart3 = new JQPlot("chart3", new ListModel(Arrays.asList(l1, l2, l3)));
    PlotOptions chart3O = chart3.getOptions();
    chart3O.getLegend().setShow(true);
    chart3O.setTitle("Mixed Data Input Formats");

    PlotSeries chart3series1 = chart3O.addNewSeries();
    chart3series1.setLabel("Rising line");
    chart3series1.setShowLine(false);
    chart3series1.getMarkerOptions().setStyle(PlotMarkerStyle.square);

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

    PlotSeries chart3series3 = chart3O.addNewSeries();
    chart3series3.setLabel("Zig Zag line");
    chart3series3.setLineWidth(5d);
    chart3series3.setShowMarker(false);

    add(chart3);
  }
View Full Code Here

Examples of nl.topicus.wqplot.options.PlotSeries

    PlotOptions chart4O = chart4.getOptions();
    chart4O.getLegend().setShow(true);
    chart4O.setTitle("Customized Axes Ticks");
    chart4O.getGrid().setBackground("#f3f3f3").setGridLineColor("#accf9b");

    PlotSeries chart4series1 = chart4O.addNewSeries();
    chart4series1.setLabel("Rising line");
    chart4series1.getMarkerOptions().setStyle(PlotMarkerStyle.square);

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

    PlotAxes chart4axes = chart4O.getAxes();
    chart4axes.getXaxis().setTicks(
View Full Code Here

Examples of nl.topicus.wqplot.options.PlotSeries

    Button button = new Button("button1");
    button.add(AttributeModifier.replace("onclick", new Model<String>(chart1.getMarkupId()
      + ".resetZoom()")));
    add(button);

    PlotSeries chart1series1 = chart1O.addNewSeries();
    chart1series1.setLabel("Google, Inc.");
    chart1series1.setNeighborThreshold(-1d);

    chart1O.getAxes().getXaxis().setRenderer(JQPlotDateAxisRenderer.get());
    chart1O.getAxes().getXaxis().setMin("August 1, 2007");
    chart1O.getAxes().getXaxis().setTickInterval("4 months");
    chart1O.getAxes().getXaxis().getTickOptions().setFormatString("%Y/%#m/%#d");
View Full Code Here

Examples of nl.topicus.wqplot.options.PlotSeries

        l3)));
    chart2.setOutputMarkupId(true);
    PlotOptions chart2O = chart2.getOptions();
    chart2O.setTitle(new PlotTitle("Plot with Zooming and 3 Y Axes"));
    chart2O.getSeriesDefaults().setShowMarker(false);
    chart2O.getSeries().add(new PlotSeries());
    chart2O.addNewSeries().setYaxis("y2axis");
    chart2O.addNewSeries().setYaxis("y3axis");
    chart2O.getCursor().setShow(true);
    chart2O.getCursor().setTooltipLocation(PlotTooltipLocation.sw);
    chart2O.getCursor().setZoom(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.