com.pmease.quickbuild.plugin.report.engine.web.chart
Class LineChartBuilder

java.lang.Object
  extended by com.pmease.quickbuild.plugin.report.engine.web.chart.LineChartBuilder
All Implemented Interfaces:
java.io.Serializable

public class LineChartBuilder
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
protected  class LineChartBuilder.LineRenderer
           
 
Field Summary
protected  XYChartData chartData
           
 
Constructor Summary
LineChartBuilder(XYChartData data)
           
 
Method Summary
protected  void addPlotDataset(org.jfree.chart.plot.XYPlot plot)
           
 org.jfree.chart.JFreeChart build()
           
protected  org.jfree.chart.axis.NumberTickUnit createRangeTickUnit(double max, DataType dataType)
           
protected  org.jfree.chart.renderer.xy.XYItemRenderer createRenderer(int index)
           
protected  void createRenderers(org.jfree.chart.plot.XYPlot plot)
           
protected  org.jfree.chart.labels.XYToolTipGenerator createTooltipGenerator(int index)
           
protected  void createXAxis(org.jfree.chart.plot.XYPlot plot)
           
protected  void createYAxes(org.jfree.chart.plot.XYPlot plot)
           
protected  org.jfree.chart.axis.NumberAxis createYAxis(DataType dataType, com.google.common.collect.Range<java.lang.Double> range)
           
protected  void customizeChart(org.jfree.chart.JFreeChart chart)
           
protected  java.lang.String domainValueToString(double value)
           
protected  org.jfree.chart.plot.Plot getPlot()
           
protected  org.jfree.chart.plot.DatasetRenderingOrder getPlotRenderingOrder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chartData

protected final XYChartData chartData
Constructor Detail

LineChartBuilder

public LineChartBuilder(XYChartData data)
Method Detail

build

public org.jfree.chart.JFreeChart build()

customizeChart

protected void customizeChart(org.jfree.chart.JFreeChart chart)

getPlotRenderingOrder

protected org.jfree.chart.plot.DatasetRenderingOrder getPlotRenderingOrder()

getPlot

protected org.jfree.chart.plot.Plot getPlot()

addPlotDataset

protected void addPlotDataset(org.jfree.chart.plot.XYPlot plot)

createXAxis

protected void createXAxis(org.jfree.chart.plot.XYPlot plot)

domainValueToString

protected java.lang.String domainValueToString(double value)

createYAxes

protected void createYAxes(org.jfree.chart.plot.XYPlot plot)

createYAxis

protected org.jfree.chart.axis.NumberAxis createYAxis(DataType dataType,
                                                      com.google.common.collect.Range<java.lang.Double> range)

createRangeTickUnit

protected org.jfree.chart.axis.NumberTickUnit createRangeTickUnit(double max,
                                                                  DataType dataType)

createRenderers

protected void createRenderers(org.jfree.chart.plot.XYPlot plot)

createRenderer

protected org.jfree.chart.renderer.xy.XYItemRenderer createRenderer(int index)

createTooltipGenerator

protected org.jfree.chart.labels.XYToolTipGenerator createTooltipGenerator(int index)


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.