Examples of PlotOrientation


Examples of com.positive.charts.plot.PlotOrientation

      final Rectangle dataArea, final int rendererIndex) {
    // calculate the bar width
    final CategoryAxis xAxis = plot.getDomainAxisForDataset(rendererIndex);
    final CategoryDataset data = plot.getDataset(rendererIndex);
    if (data != null) {
      final PlotOrientation orientation = plot.getOrientation();
      double space = 0.0;
      if (orientation == PlotOrientation.HORIZONTAL) {
        space = dataArea.height;
      } else if (orientation == PlotOrientation.VERTICAL) {
        space = dataArea.width;
View Full Code Here

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

Examples of org.jfree.chart.plot.PlotOrientation

    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

Examples of org.jfree.chart.plot.PlotOrientation

    stackedBarRenderPercentages = value;
  }

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

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

Examples of org.jfree.chart.plot.PlotOrientation

          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

Examples of org.jfree.chart.plot.PlotOrientation

            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

Examples of org.jfree.chart.plot.PlotOrientation

      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

Examples of org.jfree.chart.plot.PlotOrientation

            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

Examples of org.jfree.chart.plot.PlotOrientation

                       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

Examples of org.jfree.chart.plot.PlotOrientation

    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
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.