ChartDirector
Class SurfaceChart

java.lang.Object
  extended by ChartDirector.BaseChart
      extended by ChartDirector.ThreeDChart
          extended by ChartDirector.SurfaceChart

public class SurfaceChart
extends ThreeDChart


Constructor Summary
SurfaceChart(int width, int height)
           
SurfaceChart(int width, int height, int bgColor)
           
SurfaceChart(int width, int height, int bgColor, int edgeColor)
           
SurfaceChart(int width, int height, int bgColor, int edgeColor, int raisedEffect)
           
 
Method Summary
 void addSurfaceLine(double[] x, double[] y, int color)
           
 void addSurfaceLine(double[] x, double[] y, int color, int lineWidth)
           
 void addSurfaceLine(double[] x, double[] y, int color, int lineWidth, int side)
           
 void addSurfaceLine(double x0, double y0, double x1, double y1, int color)
           
 void addSurfaceLine(double x0, double y0, double x1, double y1, int color, int lineWidth)
           
 void addSurfaceLine(double x0, double y0, double x1, double y1, int color, int lineWidth, int side)
           
 void addSurfaceLine2(double[] x, double[] y, int color)
           
 void addSurfaceLine2(double[] x, double[] y, int color, int lineWidth)
           
 void addSurfaceLine2(double[] x, double[] y, int color, int lineWidth, int side)
           
 void addSurfaceZone(double x1, double y1, double x2, double y2, int fillColor)
           
 void addSurfaceZone(double x1, double y1, double x2, double y2, int fillColor, int edgeColor)
           
 void addSurfaceZone(double x1, double y1, double x2, double y2, int fillColor, int edgeColor, int edgeWidth)
           
 void addXYProjection()
           
 void addXYProjection(int offset)
           
 double[] getValuesAtPixel(double pixelX, double pixelY)
           
 void setBackSideBrightness(double brightness)
           
 void setBackSideColor(int color)
           
 void setBackSideLighting(double ambientLight, double diffuseLight, double specularLight, double shininess)
           
 void setContourColor(int contourColor)
           
 void setContourColor(int contourColor, int minorContourColor)
           
 void setData(double[] xData, double[] yData, double[] zData)
           
 void setData(double[] xData, double[] yData, double[] zData, double[] wData)
           
 void setInterpolation(int xSamples)
           
 void setInterpolation(int xSamples, int ySamples)
           
 void setInterpolation(int xSamples, int ySamples, boolean isSmooth)
           
 void setInterpolation(int xSamples, int ySamples, boolean isSmooth, boolean isColorSmooth)
           
 void setLighting(double ambientIntensity, double diffuseIntensity, double specularIntensity, double shininess)
           
 void setShadingMode(int shadingMode)
           
 void setShadingMode(int shadingMode, int wireWidth)
           
 void setSurfaceAxisGrid(int majorXGridColor)
           
 void setSurfaceAxisGrid(int majorXGridColor, int majorYGridColor)
           
 void setSurfaceAxisGrid(int majorXGridColor, int majorYGridColor, int minorXGridColor)
           
 void setSurfaceAxisGrid(int majorXGridColor, int majorYGridColor, int minorXGridColor, int minorYGridColor)
           
 void setSurfaceDataGrid(int xGridColor)
           
 void setSurfaceDataGrid(int xGridColor, int yGridColor)
           
 void setSurfaceTexture(int texture)
           
 void setWContourColor(int contourColor)
           
 void setWContourColor(int contourColor, int minorContourColor)
           
 
Methods inherited from class ChartDirector.ThreeDChart
colorAxis, getElevationAngle, getPlotRegionDepth, getPlotRegionHeight, getPlotRegionWidth, getRotationAngle, setColorAxis, setPerspective, setPlotRegion, setViewAngle, setViewAngle, setViewAngle, setWallColor, setWallColor, setWallColor, setWallColor, setWallGrid, setWallGrid, setWallGrid, setWallGrid, setWallGrid, setWallGrid, setWallThickness, setWallThickness, setWallThickness, setWallVisibility, setZAxisPos, xAxis, yAxis, zAxis
 
Methods inherited from class ChartDirector.BaseChart
addExtraField, addExtraField, addExtraField, addExtraField2, addExtraField2, addLegend, addLegend, addLegend, addLegend, addLegend2, addLegend2, addLegend2, addLine, addLine, addLine, addTable, addText, addText, addText, addText, addText, addText, addText, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle, addTitle2, addTitle2, addTitle2, addTitle2, addTitle2, addTitle2, adjustBrightness, autoColor, dashLineColor, dashLineColor, enableVectorOutput, formatValue, formatValue, getAbsOffsetX, getAbsOffsetY, getChartMetrics, getColor, getDrawArea, getHeight, getHTMLImageMap, getHTMLImageMap, getHTMLImageMap, getHTMLImageMap, getJsChartModel, getJsChartModel, getLegend, getWidth, gradientColor, gradientColor, gradientColor, gradientColor, gradientColor, gradientColor2, gradientColor2, gradientColor2, gradientColor2, halfColor, initDynamicLayer, layout, layoutLegend, linearGradientColor, linearGradientColor, linearGradientColor, linearGradientColor, linearGradientColor2, linearGradientColor2, makeChart, makeChart, makeChart, makeChart2, makeChart3, makeImage, makeSession, makeSession, makeSession, makeSession, makeSession, makeSession, makeSession, makeSession, makeTmpFile, makeTmpFile, makeTmpFile, patternColor, patternColor, patternColor, patternColor, patternColor2, patternColor2, radialGradientColor, radialGradientColor, radialGradientColor, radialGradientColor, radialGradientColor2, radialGradientColor2, recycle, removeDynamicLayer, setAMPM, setAntiAlias, setAntiAlias, setAntiAlias, setBackground, setBackground, setBackground, setBgImage, setBgImage, setBorder, setColor, setColors, setColors, setColors2, setDefaultFonts, setDefaultFonts, setDefaultFonts, setDefaultFonts, setDropShadow, setDropShadow, setDropShadow, setDropShadow, setDropShadow, setFontTable, setMonthNames, setNumberFormat, setNumberFormat, setNumberFormat, setNumberFormat, setOutputOptions, setResource, setResource, setRoundedFrame, setRoundedFrame, setRoundedFrame, setRoundedFrame, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath, setSearchPath2, setSearchPath2, setSearchPath3, setSearchPath3, setSearchPath3, setSearchPath4, setSearchPath5, setSearchPath5, setSize, setThickFrame, setThickFrame, setThickFrame, setThickFrame, setTransparentColor, setWallpaper, setWeekDayNames
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurfaceChart

public SurfaceChart(int width,
                    int height,
                    int bgColor,
                    int edgeColor,
                    int raisedEffect)

SurfaceChart

public SurfaceChart(int width,
                    int height,
                    int bgColor,
                    int edgeColor)

SurfaceChart

public SurfaceChart(int width,
                    int height,
                    int bgColor)

SurfaceChart

public SurfaceChart(int width,
                    int height)
Method Detail

setLighting

public void setLighting(double ambientIntensity,
                        double diffuseIntensity,
                        double specularIntensity,
                        double shininess)

setShadingMode

public void setShadingMode(int shadingMode,
                           int wireWidth)

setShadingMode

public void setShadingMode(int shadingMode)

addSurfaceLine

public void addSurfaceLine(double x0,
                           double y0,
                           double x1,
                           double y1,
                           int color,
                           int lineWidth,
                           int side)

addSurfaceLine

public void addSurfaceLine(double x0,
                           double y0,
                           double x1,
                           double y1,
                           int color,
                           int lineWidth)

addSurfaceLine

public void addSurfaceLine(double x0,
                           double y0,
                           double x1,
                           double y1,
                           int color)

addSurfaceLine

public void addSurfaceLine(double[] x,
                           double[] y,
                           int color,
                           int lineWidth,
                           int side)

addSurfaceLine

public void addSurfaceLine(double[] x,
                           double[] y,
                           int color,
                           int lineWidth)

addSurfaceLine

public void addSurfaceLine(double[] x,
                           double[] y,
                           int color)

addSurfaceLine2

public void addSurfaceLine2(double[] x,
                            double[] y,
                            int color,
                            int lineWidth,
                            int side)

addSurfaceLine2

public void addSurfaceLine2(double[] x,
                            double[] y,
                            int color,
                            int lineWidth)

addSurfaceLine2

public void addSurfaceLine2(double[] x,
                            double[] y,
                            int color)

addSurfaceZone

public void addSurfaceZone(double x1,
                           double y1,
                           double x2,
                           double y2,
                           int fillColor,
                           int edgeColor,
                           int edgeWidth)

addSurfaceZone

public void addSurfaceZone(double x1,
                           double y1,
                           double x2,
                           double y2,
                           int fillColor,
                           int edgeColor)

addSurfaceZone

public void addSurfaceZone(double x1,
                           double y1,
                           double x2,
                           double y2,
                           int fillColor)

setSurfaceTexture

public void setSurfaceTexture(int texture)

addXYProjection

public void addXYProjection(int offset)

addXYProjection

public void addXYProjection()

setSurfaceAxisGrid

public void setSurfaceAxisGrid(int majorXGridColor,
                               int majorYGridColor,
                               int minorXGridColor,
                               int minorYGridColor)

setSurfaceAxisGrid

public void setSurfaceAxisGrid(int majorXGridColor,
                               int majorYGridColor,
                               int minorXGridColor)

setSurfaceAxisGrid

public void setSurfaceAxisGrid(int majorXGridColor,
                               int majorYGridColor)

setSurfaceAxisGrid

public void setSurfaceAxisGrid(int majorXGridColor)

setSurfaceDataGrid

public void setSurfaceDataGrid(int xGridColor,
                               int yGridColor)

setSurfaceDataGrid

public void setSurfaceDataGrid(int xGridColor)

setContourColor

public void setContourColor(int contourColor,
                            int minorContourColor)

setContourColor

public void setContourColor(int contourColor)

setWContourColor

public void setWContourColor(int contourColor,
                             int minorContourColor)

setWContourColor

public void setWContourColor(int contourColor)

setBackSideBrightness

public void setBackSideBrightness(double brightness)

setBackSideColor

public void setBackSideColor(int color)

setBackSideLighting

public void setBackSideLighting(double ambientLight,
                                double diffuseLight,
                                double specularLight,
                                double shininess)

setData

public void setData(double[] xData,
                    double[] yData,
                    double[] zData)

setData

public void setData(double[] xData,
                    double[] yData,
                    double[] zData,
                    double[] wData)

setInterpolation

public void setInterpolation(int xSamples,
                             int ySamples,
                             boolean isSmooth,
                             boolean isColorSmooth)

setInterpolation

public void setInterpolation(int xSamples,
                             int ySamples,
                             boolean isSmooth)

setInterpolation

public void setInterpolation(int xSamples,
                             int ySamples)

setInterpolation

public void setInterpolation(int xSamples)

getValuesAtPixel

public double[] getValuesAtPixel(double pixelX,
                                 double pixelY)