com.approximatrix.charting.render
Class LineChartRenderer

java.lang.Object
  extended by com.approximatrix.charting.render.AbstractChartRenderer
      extended by com.approximatrix.charting.render.LineChartRenderer
All Implemented Interfaces:
Renderer

public class LineChartRenderer
extends AbstractChartRenderer

This renderer creates a LineChart.

Version:
1.0
Author:
mueller

Field Summary
 
Fields inherited from class com.approximatrix.charting.render.AbstractChartRenderer
bounds, coord, listener, model, rcm, stopFlag
 
Constructor Summary
LineChartRenderer(CoordSystem cs, ChartDataModel model)
          Creates new LineChartRenderer
 
Method Summary
 void renderChart(java.awt.Graphics2D g)
          Finally renders the Object in the Graphics object.
 
Methods inherited from class com.approximatrix.charting.render.AbstractChartRenderer
addRenderChangeListener, clearRenderChangeListeners, fireRenderChangeEvent, getBounds, getChartDataModel, getCoordSystem, getPreferredSize, getRowColorModel, getTransform, interruptRendering, removeRenderChangeListener, render, resetStopFlag, setBounds, setChartDataModel, setCoordSystem, setRowColorModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineChartRenderer

public LineChartRenderer(CoordSystem cs,
                         ChartDataModel model)
Creates new LineChartRenderer

Parameters:
rcm - the RowColorModel needed to determine the right colors
cs - the ClassicCoordSystem used to translate values into points
model - the DataModel that should be rendered
Method Detail

renderChart

public void renderChart(java.awt.Graphics2D g)
Finally renders the Object in the Graphics object.

Specified by:
renderChart in class AbstractChartRenderer
Parameters:
g - the Graphics2D object in which to render