Package org.aavso.tools.vstar.ui.dialog.period

Examples of org.aavso.tools.vstar.ui.dialog.period.PeriodAnalysis2DChartPane


    PeriodAnalysis2DPlotModel model = new PeriodAnalysis2DPlotModel(
        analysisValues, domainType, rangeType, isLogarithmic);

    // Create a line chart with legend, tool-tips, and URLs showing
    // and add it to the panel.
    PeriodAnalysis2DChartPane chartPanel = new PeriodAnalysis2DChartPane(
        ChartFactory.createXYLineChart(title, model.getDomainType()
            .getDescription(), model.getRangeType()
            .getDescription(), model, PlotOrientation.VERTICAL,
            true, true, true), model, permitLogarithmic);

    chartPanel.getChart().addSubtitle(new TextTitle(subtitle));

    return chartPanel;
  }
View Full Code Here


      String subtitle, PeriodAnalysis2DPlotModel model,
      boolean permitLogarithmic) {

    // Create a scatter plot with legend, tool-tips, and URLs showing
    // and add it to the panel.
    PeriodAnalysis2DChartPane chartPanel = new PeriodAnalysis2DChartPane(
        ChartFactory.createScatterPlot(title, model.getDomainType()
            .getDescription(), model.getRangeType()
            .getDescription(), model, PlotOrientation.VERTICAL,
            true, true, true), model, permitLogarithmic);

    chartPanel.getChart().addSubtitle(new TextTitle(subtitle));

    return chartPanel;
  }
View Full Code Here

    // Make a combined chart.
    chart2.getXYPlot().setDataset(1, model);
    chart2.getXYPlot().setRenderer(1, chart1.getXYPlot().getRenderer());
    chart2.getXYPlot().setDatasetRenderingOrder(DatasetRenderingOrder.FORWARD);

    PeriodAnalysis2DChartPane chartPanel = new PeriodAnalysis2DChartPane(
        chart2, model, permitLogarithmic);

    chartPanel.getChart().addSubtitle(new TextTitle(subtitle));

    return chartPanel;
  }
View Full Code Here

      String subtitle, PeriodAnalysis2DPlotModel model,
      boolean permitLogarithmic) {

    // Create a line chart with legend, tool-tips, and URLs showing
    // and add it to the panel.
    PeriodAnalysis2DChartPane chartPanel = new PeriodAnalysis2DChartPane(
        ChartFactory.createXYLineChart(title, model.getDomainType()
            .getDescription(), model.getRangeType()
            .getDescription(), model, PlotOrientation.VERTICAL,
            true, true, true), model, permitLogarithmic);

    chartPanel.getChart().addSubtitle(new TextTitle(subtitle));

    return chartPanel;
  }
View Full Code Here

TOP

Related Classes of org.aavso.tools.vstar.ui.dialog.period.PeriodAnalysis2DChartPane

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.