Package org.jfree.chart.plot

Examples of org.jfree.chart.plot.PlotOrientation


    return null;
  }

  protected PlotOrientation computePlotOrientation()
  {
    final PlotOrientation orientation;
    if (isHorizontal())
    {
      orientation = PlotOrientation.HORIZONTAL;
    }
    else
View Full Code Here


    this.renderAsPercentages = renderAsPercentages;
  }

  protected JFreeChart computeCategoryChart(final CategoryDataset categoryDataset)
  {
    final PlotOrientation orientation = computePlotOrientation();
    final JFreeChart chart;
    if (isStacked())
    {
      chart = createStackedAreaChart
          (computeTitle(), getCategoryAxisLabel(), getValueAxisLabel(),
View Full Code Here

    stackedBarRenderPercentages = value;
  }

  public JFreeChart computeCategoryChart(final CategoryDataset categoryDataset)
  {
    final PlotOrientation orientation = computePlotOrientation();

    final JFreeChart chart;
    if (isThreeD())
    {
      if (isStacked())
View Full Code Here

          ChartFactory.createTimeSeriesChart(computeTitle(), getDomainTitle(), getRangeTitle(), xyDataset,
              isShowLegend(), false, false);
    }
    else
    {
      final PlotOrientation orientation = computePlotOrientation();
      rtn = ChartFactory.createXYLineChart(computeTitle(), getDomainTitle(), getRangeTitle(),
          xyDataset, orientation, isShowLegend(), false, false);
    }

    final String chartType = getChartType();
View Full Code Here

            isShowLegend(), false, false, false);
      }
    }
    else
    {
      final PlotOrientation orientation = computePlotOrientation();
      if (isStacked() && xyDataset instanceof XYSeriesCollection)
      {
        final XYSeriesCollection xySeriesCollection = (XYSeriesCollection) xyDataset;
        chart = createStackedXYBarChart(computeTitle(), getDomainTitle(), false, getRangeTitle(),
            convertToTable(xySeriesCollection), orientation, isShowLegend(), false, false);
View Full Code Here

      xyPlot.setRenderer(renderer);

    }
    else
    {
      final PlotOrientation orientation = computePlotOrientation();
      chart = ChartFactory.createScatterPlot(computeTitle(), getDomainTitle(), getRangeTitle(),
          xyDataset, orientation, isShowLegend(), false, false);
    }

    chart.getXYPlot().setRenderer(new XYDotRenderer());
View Full Code Here

            isShowLegend(), false, false, isStacked());
      }
    }
    else
    {
      final PlotOrientation orientation = computePlotOrientation();
      if (isStacked())
      {
        chart = createStackedXYAreaChart(computeTitle(), getDomainTitle(), getRangeTitle(),
            xyDataset, orientation, isShowLegend(), false, false);
      }
View Full Code Here

                       final int item,
                       final CrosshairState crosshairState,
                       final int pass)
  {

    final PlotOrientation orientation = plot.getOrientation();

    // get the data point...
    final double x = dataset.getXValue(series, item);
    final double y = dataset.getYValue(series, item);
    double z = Double.NaN;
View Full Code Here

    markersVisible = false;
  }

  protected JFreeChart computeCategoryChart(final CategoryDataset dataset)
  {
    final PlotOrientation orientation = computePlotOrientation();
    if (isThreeD())
    {
      final JFreeChart chart = ChartFactory.createLineChart3D(computeTitle(), getCategoryAxisLabel(), getValueAxisLabel(), dataset,
          orientation, isShowLegend(), false, false);
      chart.getCategoryPlot().setDomainAxis(new FormattedCategoryAxis3D(getCategoryAxisLabel(),
View Full Code Here

            isShowLegend(), false, false, isStacked());
      }
    }
    else
    {
      final PlotOrientation orientation = computePlotOrientation();
      if (isStacked())
      {
        chart = createStackedXYAreaChart(computeTitle(), getDomainTitle(), getRangeTitle(),
            xyDataset, orientation, isShowLegend(), false, false);
      }
View Full Code Here

TOP

Related Classes of org.jfree.chart.plot.PlotOrientation

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.