com.linksoft.chart
Class LinePlotter

java.lang.Object
  extended bycom.linksoft.chart.ChartComponent
      extended bycom.linksoft.chart.Plotter
          extended bycom.linksoft.chart.LinePlotter
Direct Known Subclasses:
CurvePlotter

public class LinePlotter
extends Plotter

Copyright (c) 2002-2005 LinkSoft Systems, Inc. All Rights Reserved


Field Summary
protected  int[][] bottomCorners
           
 boolean fixedLimits
           
 boolean hideCeros
           
 int MaxMinType
           
static int MM_CANDLESTICK
           
static int MM_NORMAL
           
static int MM_OHLC
           
 int pointSize
           
static int TYPE_B_SPLINES
           
static int TYPE_CUBIC_NATURAL
           
static int TYPE_LEAST_SQUARES_LINE
           
static int TYPE_LINE
           
 
Fields inherited from class com.linksoft.chart.Plotter
back, backImage, combinable, depth, needsAxis, visibleHeight, visibleWidth, XScale, Y2Scale, YScale
 
Fields inherited from class com.linksoft.chart.ChartComponent
chart, height, width, x, y
 
Constructor Summary
LinePlotter()
           
 
Method Summary
protected  double[][] clipLines(double[][] Points, double MaxY, double MinY)
           
protected  void plotCurve(ChartGraphics chartgraphics, int[][] ai, LineDataSerie linedataserie)
           
protected  void plotSerie(ChartGraphics g, DataSerie s, int serieSec)
           
 
Methods inherited from class com.linksoft.chart.Plotter
addSerie, getActiveXScale, getActiveYScale, getCombinable, getNeedsAxis, getSerie, getSeriesCount, inSameSubChart, plot, plotBackground, replaceSerie, setSerie
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hideCeros

public boolean hideCeros

TYPE_LINE

public static final int TYPE_LINE
See Also:
Constant Field Values

TYPE_CUBIC_NATURAL

public static final int TYPE_CUBIC_NATURAL
See Also:
Constant Field Values

TYPE_B_SPLINES

public static final int TYPE_B_SPLINES
See Also:
Constant Field Values

TYPE_LEAST_SQUARES_LINE

public static final int TYPE_LEAST_SQUARES_LINE
See Also:
Constant Field Values

MM_NORMAL

public static final int MM_NORMAL
See Also:
Constant Field Values

MM_OHLC

public static final int MM_OHLC
See Also:
Constant Field Values

MM_CANDLESTICK

public static final int MM_CANDLESTICK
See Also:
Constant Field Values

fixedLimits

public boolean fixedLimits

MaxMinType

public int MaxMinType

pointSize

public int pointSize

bottomCorners

protected int[][] bottomCorners
Constructor Detail

LinePlotter

public LinePlotter()
Method Detail

clipLines

protected double[][] clipLines(double[][] Points,
                               double MaxY,
                               double MinY)

plotSerie

protected void plotSerie(ChartGraphics g,
                         DataSerie s,
                         int serieSec)
Overrides:
plotSerie in class Plotter

plotCurve

protected void plotCurve(ChartGraphics chartgraphics,
                         int[][] ai,
                         LineDataSerie linedataserie)