net.comrom.chart
Class CurvePlotter

java.lang.Object
  extended bynet.comrom.chart.ChartComponent
      extended bynet.comrom.chart.Plotter
          extended bynet.comrom.chart.LinePlotter
              extended bynet.comrom.chart.CurvePlotter

public class CurvePlotter
extends LinePlotter

This is the plotter used to draw curves. Supported curves types are:
1. natural cubic (lineType=TYPE_CUBIC_NATURAL): this curve "interpolates" the points you provided. I.E. the points you provided will be part of the curve.
2. B sp-lines (lineType=TYPE_B_SPLINES): this curve "aproximates" the points you provided. I.E. the points you provided will as close to the curve as possible, this will result in a smooth curve.
3. least squares line (lineType=TYPE_LEAST_SQUARES_LINE): this curve "aproximates" the points you provided using a line.


Field Summary
 int segments
          number of segments used to draw a curve between 2 points
 
Fields inherited from class net.comrom.chart.LinePlotter
fixedLimits, hideCeros, MaxMinType, MM_CANDLESTICK, MM_NORMAL, MM_OHLC, pointSize, TYPE_B_SPLINES, TYPE_CUBIC_NATURAL, TYPE_LEAST_SQUARES_LINE, TYPE_LINE
 
Fields inherited from class net.comrom.chart.Plotter
back, backImage, depth, visibleHeight, visibleWidth, XScale, Y2Scale, YScale
 
Fields inherited from class net.comrom.chart.ChartComponent
height, width, x, y
 
Constructor Summary
CurvePlotter()
           
 
Methods inherited from class net.comrom.chart.Plotter
addSerie, getCombinable, getNeedsAxis, getSerie, getSeriesCount, plot, plotBackground, replaceSerie, setSerie
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

segments

public int segments
number of segments used to draw a curve between 2 points

Constructor Detail

CurvePlotter

public CurvePlotter()