OFC Charts 3.1


com.oxymel.ofc.charts
Class Contour2D

java.lang.Object
  |
  +--com.oxymel.ofc.charts.Chart
        |
        +--com.oxymel.ofc.charts.ChartWithAxisXY
              |
              +--com.oxymel.ofc.charts.Contour2D

public class Contour2D
extends ChartWithAxisXY

This class allows to manage 2D Contour graphics. It generates isolines from a grid and fill the areas delimited by these isolines with colors according to the defined ColorPalette.


Fields inherited from class com.oxymel.ofc.charts.Chart
ROTATE_180_DEGREE, ROTATE_270_DEGREE, ROTATE_90_DEGREE, ROTATE_NONE
 
Constructor Summary
Contour2D(int chartWidth, int chartHeight, HorizontalNumberAxis axisX, VerticalNumberAxis axisY, Grid grid, double zStart, double zEnd, double zStep)
          Constructor
 
Method Summary
 void addHorizontalLineInfo(HorizontalLineInfo horizontalLineInfo)
          Adds an horizontal line info to the graphic
 void setColorPalette(ColorPalette colorPalette)
          Sets color Palette.
 
Methods inherited from class com.oxymel.ofc.charts.ChartWithAxisXY
setGraphicVisible, setIGOriginAxisColor, setInternalGridVisible
 
Methods inherited from class com.oxymel.ofc.charts.Chart
drawAnimateSVG, drawAnimateSVG, drawAnimateSVG, drawAnimateSVG, drawAnimateSVG, drawJPEG, drawJPEG, drawPNG, drawPNG, drawSVG, drawSVG, drawSVG, drawSVG, drawSVG, drawSVG, get3dEffectValue, getAllSeriesOrderByDisplayNumber, getBufferedImage, set3dEffectValue, setBackgroundColorVisible, setGraphicBackgroundColor, setImageBackgroundColor, setLegendAlignMode, setLegendDisplayMode, setLegendFontSize, setNbPixelFreeArroundImageForPresentation, setRotateValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contour2D

public Contour2D(int chartWidth,
                 int chartHeight,
                 HorizontalNumberAxis axisX,
                 VerticalNumberAxis axisY,
                 Grid grid,
                 double zStart,
                 double zEnd,
                 double zStep)
Constructor
Parameters:
chartWidth - Chart width
chartHeight - Chart height
axisX - horizontal graduated axis
axisY - vertical graduated axis
grid - input data used to compute the isolines
zStart - isoline start value
zEnd - isoline end value
zStep - isoline step value
Method Detail

setColorPalette

public void setColorPalette(ColorPalette colorPalette)
Sets color Palette. This Palette replaces the default one.
Overrides:
setColorPalette in class Chart
Parameters:
colorPalette - Palette of colors to be set

addHorizontalLineInfo

public void addHorizontalLineInfo(HorizontalLineInfo horizontalLineInfo)
Adds an horizontal line info to the graphic
Parameters:
horizontalLineInfo - An horizontal line info

OFC Charts 3.1


Copyright © 2005 Oxymel SA All Rights Reserved.