Package org.pentaho.plugin.jfreereport.reportcharts.backport

Examples of org.pentaho.plugin.jfreereport.reportcharts.backport.FormattedCategoryAxis


    else
    {
      chart = ChartFactory.createAreaChart
          (computeTitle(), getCategoryAxisLabel(), getValueAxisLabel(), categoryDataset,
              orientation, isShowLegend(), false, false);
      chart.getCategoryPlot().setDomainAxis(new FormattedCategoryAxis(getCategoryAxisLabel(),
          getCategoricalAxisMessageFormat(), getRuntime().getResourceBundleFactory().getLocale()));
    }

    configureLogarithmicAxis(chart.getCategoryPlot());
    return chart;
View Full Code Here


    if (orientation == null)
    {
      throw new IllegalArgumentException("Null 'orientation' argument.");
    }
    final CategoryAxis categoryAxis = new FormattedCategoryAxis(categoryAxisLabel,
        getCategoricalAxisMessageFormat(), getRuntime().getResourceBundleFactory().getLocale());
    categoryAxis.setCategoryMargin(0.0);
    final ValueAxis valueAxis = new NumberAxis(valueAxisLabel);

    final StackedAreaRenderer renderer = new StackedAreaRenderer();
    if (tooltips)
    {
View Full Code Here

      {
        chart = ChartFactory.createBarChart(computeTitle(),
            getCategoryAxisLabel(), getValueAxisLabel(), categoryDataset,
            orientation, isShowLegend(), false, false);
      }
      chart.getCategoryPlot().setDomainAxis(new FormattedCategoryAxis(getCategoryAxisLabel(),
          getCategoricalAxisMessageFormat(), getRuntime().getResourceBundleFactory().getLocale()));
    }

    final CategoryPlot plot = (CategoryPlot) chart.getPlot();
    configureLogarithmicAxis(plot);
View Full Code Here

  protected JFreeChart computeCategoryChart(final CategoryDataset dataset)
  {
    final JFreeChart chart = ChartFactory.createWaterfallChart(computeTitle(), getCategoryAxisLabel(),
        getValueAxisLabel(), dataset,
        computePlotOrientation(), isShowLegend(), false, false);
    chart.getCategoryPlot().setDomainAxis(new FormattedCategoryAxis(getCategoryAxisLabel(),
          getCategoricalAxisMessageFormat(), getRuntime().getResourceBundleFactory().getLocale()));
    return chart;
  }
View Full Code Here

    }
    else
    {
      final JFreeChart chart = ChartFactory.createLineChart(computeTitle(), getCategoryAxisLabel(), getValueAxisLabel(), dataset,
          orientation, isShowLegend(), false, false);
      chart.getCategoryPlot().setDomainAxis(new FormattedCategoryAxis(getCategoryAxisLabel(),
          getCategoricalAxisMessageFormat(), getRuntime().getResourceBundleFactory().getLocale()));
      return chart;
    }
  }
View Full Code Here

    }
    else
    {
      final JFreeChart chart = ChartFactory.createLineChart(computeTitle(), getCategoryAxisLabel(), getValueAxisLabel(), dataset,
          orientation, isShowLegend(), false, false);
      chart.getCategoryPlot().setDomainAxis(new FormattedCategoryAxis(getCategoryAxisLabel(),
          getCategoricalAxisMessageFormat(), getRuntime().getResourceBundleFactory().getLocale()));
      final CategoryPlot plot = (CategoryPlot) chart.getPlot();
      configureLogarithmicAxis(plot);
      return chart;
    }
View Full Code Here

  protected JFreeChart computeCategoryChart(final CategoryDataset dataset)
  {
    final JFreeChart chart = ChartFactory.createWaterfallChart(computeTitle(), getCategoryAxisLabel(),
        getValueAxisLabel(), dataset,
        computePlotOrientation(), isShowLegend(), false, false);
    chart.getCategoryPlot().setDomainAxis(new FormattedCategoryAxis(getCategoryAxisLabel(),
          getCategoricalAxisMessageFormat(), getRuntime().getResourceBundleFactory().getLocale()));
    return chart;
  }
View Full Code Here

      {
        chart = ChartFactory.createBarChart(computeTitle(),
            getCategoryAxisLabel(), getValueAxisLabel(), categoryDataset,
            orientation, isShowLegend(), false, false);
      }
      chart.getCategoryPlot().setDomainAxis(new FormattedCategoryAxis(getCategoryAxisLabel(),
          getCategoricalAxisMessageFormat(), getRuntime().getResourceBundleFactory().getLocale()));
    }

    final CategoryPlot plot = (CategoryPlot) chart.getPlot();
    configureLogarithmicAxis(plot);
View Full Code Here

    else
    {
      chart = ChartFactory.createAreaChart
          (computeTitle(), getCategoryAxisLabel(), getValueAxisLabel(), categoryDataset,
              orientation, isShowLegend(), false, false);
      chart.getCategoryPlot().setDomainAxis(new FormattedCategoryAxis(getCategoryAxisLabel(),
          getCategoricalAxisMessageFormat(), getRuntime().getResourceBundleFactory().getLocale()));
    }

    configureLogarithmicAxis(chart.getCategoryPlot());
    return chart;
View Full Code Here

    if (orientation == null)
    {
      throw new IllegalArgumentException("Null 'orientation' argument.");
    }
    final CategoryAxis categoryAxis = new FormattedCategoryAxis(categoryAxisLabel,
        getCategoricalAxisMessageFormat(), getRuntime().getResourceBundleFactory().getLocale());
    categoryAxis.setCategoryMargin(0.0);
    final ValueAxis valueAxis = new NumberAxis(valueAxisLabel);

    final StackedAreaRenderer renderer = new StackedAreaRenderer();
    if (tooltips)
    {
View Full Code Here

TOP

Related Classes of org.pentaho.plugin.jfreereport.reportcharts.backport.FormattedCategoryAxis

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.