public class Surface extends Custom3DGrid
Title: Surface class
Description: Surface 3D Series.
Example:
surfaceSeries = new com.steema.teechart.styles.Surface(myChart.getChart()); surfaceSeries.setPaletteStyle(PaletteStyle.STRONG); surfaceSeries.getSideBrush().setColor(Color.WHITE); surfaceSeries.getSideBrush().setStyle(null); surfaceSeries.setUseColorRange(false); surfaceSeries.setUsePalette(true);
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Class and Description |
---|---|
class |
Surface.CellsOrientation |
Custom3DGrid.CellsRow, Custom3DGrid.PCellsRow, Custom3DGrid.YCalculator
Custom3DPalette.ColorResolver
Series.MarkTextResolver
Modifier and Type | Field and Description |
---|---|
protected Point[] |
points |
protected ChartPen |
sideLines |
FXStartIndex, FZStartIndex, gridIndex, iInGallery, iNextXCell, iNextZCell, iNumXValues, iNumZValues, valueIndex0, valueIndex1, valueIndex2, valueIndex3
bUseColorRange, bUsePalette, iPaletteSteps
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, oldDataSource, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory
chart, InternalUse
Constructor and Description |
---|
Surface() |
Surface(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
void |
assign(Series source)
Copies all properties from one Series component to another.
Only the common properties shared by both source and destination Series are copied. |
Surface.CellsOrientation |
cellsOrientation() |
void |
createSubGallery(Gallery addSubChart) |
protected void |
draw() |
void |
drawCell(int x,
int z) |
protected void |
drawSidePortion(com.steema.teechart.styles.Surface.SidePoint z0,
com.steema.teechart.styles.Surface.SidePoint z1) |
protected boolean |
fourGridIndex(int x,
int z) |
java.lang.String |
getDescription()
Gets descriptive text.
|
boolean |
getDotFrame()
Sets SurfaceSeries as a grid of dots (pixels).
It's very similar to the WireFrame mode except that no lines connect the Surface's points. |
boolean |
getHideCells() |
ChartBrush |
getSideBrush()
Determines the Brush to fill the sides of a Surface Series.
|
ChartPen |
getSideLines() |
boolean |
getSmoothPalette()
Determine the cell Colors of a Surface Series.
When set to true, each cell is filled using a color calculated as the average of each cell 4 corner colors. |
boolean |
getWaterFall()
Enables/disables the display as a waterfall.
Default value: false |
ChartPen |
getWaterLines()
Sets Pen to draw valuelines.
|
boolean |
getWireFrame()
Shows Surface polygons as grid or wire frame when true.
If Surface.Pen.Visible is True (default), Surface points are displayed as a "grid" or "wireframe", with lines connecting them. |
void |
prepareForGallery(boolean isEnabled) |
protected void |
prepareLegendCanvas(IGraphics3D g,
int valueIndex,
Color backColor,
ChartBrush aBrush) |
protected java.lang.Object |
readResolve() |
void |
setChart(IBaseChart c)
Chart associated with this object.
|
void |
setDotFrame(boolean value)
Sets SurfaceSeries as a grid of dots (pixels).
Default value: false |
void |
setHideCells(boolean value) |
void |
setSideLines(ChartPen value) |
void |
setSmoothPalette(boolean value)
Determine the cell Colors of a Surface Series.
Default value: false |
void |
setSubGallery(int index)
Creates and prepares the index'th Series style to show at sub-gallery
dialog.
|
void |
setWaterFall(boolean value) |
void |
setWireFrame(boolean value)
Shows Surface polygons as grid or wire frame when true.
If Surface.Pen.Visible is True (default), Surface points are displayed as a "grid" or "wireframe", with lines connecting them. |
protected boolean |
shouldDrawSides() |
protected Point[] |
updateArray(int count,
Point[] points) |
addSampleValues, addValues, backFaced, canCreateValues, clear, createValues, doBeforeDrawChart, doGetYValue, existFourGridIndex, fillGridIndex, getIndex, getIrregularGrid, getNumXValues, getNumZValues, isValidSeriesSource, numSampleValues, reCreateValues, removeYCalculator, setIndex, setIrregularGrid, setNumXValues, setNumZValues, setYCalculator
addPalette, calcColorRange, clearPalette, countLegendItems, createDefaultPalette, drawLegendShape, galleryChanged3D, getBlueFactor, getBrush, getCountLegendItems, getEndColor, getGreenFactor, getLegendString, getMidColor, getPalette, getPaletteMin, getPaletteRange, getPaletteStep, getPaletteSteps, getPaletteStyle, getPen, getRedFactor, getStartColor, getUseColorRange, getUsePalette, getUsePaletteMin, getValueColor, getValueColorValue, legendItemColor, removeColorResolver, setBlueFactor, setColorResolver, setEndColor, setGreenFactor, setMidColor, setPaletteMin, setPaletteRange, setPaletteStep, setPaletteSteps, setPaletteStyle, setRedFactor, setSameBrush, setStartColor, setUseColorRange, setUsePalette, setUsePaletteMin
add, add, add, add, add, add, add, add, add, calcZOrder, calcZPos, drawMark, getMaxZValue, getMinZValue, getPoint, getTimesZOrder, getZValues, isValidSourceOf, setTimesZOrder, valueListOfAxis
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addChartValue, added, addedValue, addNull, addNullXY, addSeriesMouseListener, addSeriesPaintListener, assignDispose, assignValues, associatedToAxis, beginUpdate, calcFirstLastVisibleIndex, calcHorizMargins, calcPercentSt, calcPosValue, calculateMarkPosition, calcVerticalMargins, calcXPos, calcXPosValue, calcXSizeValue, calcYPos, calcYPosValue, calcYSizeValue, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clearLists, clicked, clicked, clone, cloneSeries, convertArray, createNewSeries, createNewSeries, createNewSeries, dataSourceArray, delete, delete, delete, dispose, doAfterDrawValues, doBeforeDrawValues, doClick, doClickPointer, doDoubleClick, drawHiddenValue, drawLegend, drawLegend, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValue, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, getActive, getAllowSinglePoint, getBitmapEditor, getColor, getColorEach, getColorMember, getColors, getCount, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDefaultColor, getDefaultNullValue, getDepth, getEndZ, getFields, getFirstVisible, getFunction, getHasZValues, getHorizAxis, getHorizontalAxis, getLabelMember, getLabels, getLastVisible, getMandatory, getMandatoryAxis, getMarks, getMarkText, getMarkValue, getMaxXValue, getMaxYValue, getMiddleZ, getMinXValue, getMinYValue, getNotMandatory, getNumGallerySeries, getNumSampleValues, getOriginValue, getPercentFormat, getSeriesColor, getShowInLegend, getStartZ, getTitle, getUseAxis, getValueFormat, getValueIndexSwapper, getValueList, getValueList, getValueMarkText, getValuesLists, getVertAxis, getVerticalAxis, getVisible, getXValues, getYMandatory, getYValueList, getYValues, getZOrder, hasClickEvents, hasColors, hasDataSource, hasLabels, hasListenersOf, hasNoMandatoryValues, isNull, isPointInChartRect, isValidSeriesSource, lastDisplayed, lastVisibleMark, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, onDisposing, randomBounds, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setActive, setColor, setColorEach, setColorMember, setColors, setCursor, setCustomHorizAxis, setCustomHorizAxis, setCustomVertAxis, setCustomVertAxis, setDataSource, setDefaultNullValue, setDepth, setEndZ, setFunction, setHorizontal, setHorizontalAxis, setLabelMember, setLabels, setMarks, setMarkTextResolver, setMiddleZ, setNull, setNull, setPercentFormat, setSeriesColor, setShowInLegend, setStartZ, setTitle, setValueFormat, setValueList, setVerticalAxis, setVisible, setXValues, setYValues, setZOrder, setZPositions, sortByLabels, sortByLabels, sortDrawSeries, swapValueIndex, titleOrName, toString, valuesListAdd, xScreenToValue, yScreenToValue
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChart, invalidate
public Surface(IBaseChart c)
public Surface()
public void createSubGallery(Gallery addSubChart)
createSubGallery
in class Custom3DPalette
public java.lang.String getDescription()
getDescription
in class Series
public void assign(Series source)
Series
public boolean getSmoothPalette()
public void setSmoothPalette(boolean value)
Example:
series.setSmoothPalette(true);
value
- booleanprotected java.lang.Object readResolve()
readResolve
in class Custom3DPalette
public void setChart(IBaseChart c)
TeeBase
setChart
in interface ISeries
setChart
in class Custom3DPalette
c
- IBaseChartpublic void setSubGallery(int index)
Series
setSubGallery
in interface ISeries
setSubGallery
in class Custom3DPalette
index
- intpublic ChartBrush getSideBrush()
public ChartPen getSideLines()
public void setSideLines(ChartPen value)
public ChartPen getWaterLines()
public boolean getWaterFall()
public void setWaterFall(boolean value)
public boolean getWireFrame()
public void setWireFrame(boolean value)
Example:
series = new com.steema.teechart.styles.Surface(myChart.getChart()); series.setWireFrame(true); series.setUsePalette(true); series.setUseColorRange(false); series.getPen().setWidth(1); series.fillSampleValues(10);
value
- booleanprotected boolean shouldDrawSides()
public boolean getHideCells()
public void setHideCells(boolean value)
public boolean getDotFrame()
public void setDotFrame(boolean value)
value
- booleanpublic void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Custom3DPalette
protected void prepareLegendCanvas(IGraphics3D g, int valueIndex, Color backColor, ChartBrush aBrush)
prepareLegendCanvas
in class Custom3D
public Surface.CellsOrientation cellsOrientation()
protected void drawSidePortion(com.steema.teechart.styles.Surface.SidePoint z0, com.steema.teechart.styles.Surface.SidePoint z1)
protected boolean fourGridIndex(int x, int z)
public void drawCell(int x, int z)