com.steema.teechart.styles
Class Custom3D

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.styles.Series
          extended by com.steema.teechart.styles.Custom3D
All Implemented Interfaces:
ISeries
Direct Known Subclasses:
Custom3DPalette, Points3D

public abstract class Custom3D
extends Series

Title: Custom3D class

Description: Custom3D Series.

Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Nested Class Summary
 
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series
Series.MarkTextResolver
 
Field Summary
protected  ValueList vzValues
           
 
Fields inherited from class com.steema.teechart.styles.Series
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory
 
Fields inherited from class com.steema.teechart.TeeBase
chart, InternalUse
 
Constructor Summary
protected Custom3D()
           
protected Custom3D(IBaseChart c)
           
 
Method Summary
 int add(DateTime aDate, double y, double z, java.lang.String text, Color color)
          Adds a new Datetime point to a 3D Series, label and color.
 void add(double[] xValues, double[] yValues, double[] zValues)
          Adds the X, Y and Z arrays.
 void add(double[] xValues, double[] yValues, double[] zValues, Color[] colorValues)
          Adds the X, Y, Z and Color arrays.
 int add(double x, double y, double z)
          Adds a new point to a 3D Series.
 int add(double x, double y, double z, Color color)
          Adds a new point to a 3D Series and color.
 int add(double x, double y, double z, java.lang.String text)
          Adds a new point to a 3D Series and label.
 int add(double x, double y, double z, java.lang.String text, Color color)
          Adds a new point to a 3D Series, label and color.
 void add(java.util.Vector xValues, java.util.Vector yValues, java.util.Vector zValues)
          Adds the X, Y and Z arrays.
 void add(java.util.Vector xValues, java.util.Vector yValues, java.util.Vector zValues, java.util.Vector colorValues)
          Adds the X, Y, Z and colorValues arrays.
 void calcZOrder()
           
protected  int calcZPos(int valueIndex)
           
protected  void drawMark(int valueIndex, java.lang.String s, SeriesMarksPosition position)
           
 double getMaxZValue()
          Checks if given series object instance is a Custom3D instance.
 double getMinZValue()
          Returns Minimum Z Value.
 SeriesXYPoint getPoint(int index)
          XYZ Point characteristics
 int getTimesZOrder()
          For internal use.
 ValueList getZValues()
          Values defining Z grid point positions.
 boolean isValidSourceOf(Series value)
          Checks if given series object instance is a Custom3D instance.
protected  void prepareLegendCanvas(IGraphics3D g, int valueIndex, Color backColor, ChartBrush aBrush)
           
 void setTimesZOrder(int value)
          For internal use.
 ValueList valueListOfAxis(Axis a)
           
 
Methods inherited from class com.steema.teechart.styles.Series
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, addSampleValues, addSeriesMouseListener, addSeriesPaintListener, addValues, assign, assignDispose, assignValues, associatedToAxis, beginUpdate, calcFirstLastVisibleIndex, calcHorizMargins, calcPercentSt, calcPosValue, calculateMarkPosition, calcVerticalMargins, calcXPos, calcXPosValue, calcXSizeValue, calcYPos, calcYPosValue, calcYSizeValue, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clearLists, clicked, clicked, clone, cloneSeries, convertArray, countLegendItems, createNewSeries, createNewSeries, createNewSeries, createSubGallery, dataSourceArray, delete, delete, delete, dispose, doAfterDrawValues, doBeforeDrawChart, doBeforeDrawValues, doClick, doClickPointer, doDoubleClick, draw, drawHiddenValue, drawLegend, drawLegend, drawLegendShape, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValue, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, galleryChanged3D, getActive, getAllowSinglePoint, getBrush, getColor, getColorEach, getColorMember, getColors, getCount, getCountLegendItems, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDefaultColor, getDefaultNullValue, getDepth, getDescription, getEndZ, getFields, getFirstVisible, getFunction, getHasZValues, getHorizAxis, getHorizontalAxis, getLabelMember, getLabels, getLastVisible, getLegendString, getMandatory, getMandatoryAxis, getMarks, getMarkText, getMarkValue, getMaxXValue, getMaxYValue, getMiddleZ, getMinXValue, getMinYValue, getNotMandatory, getNumGallerySeries, getNumSampleValues, getOriginValue, getPercentFormat, getSeriesColor, getShowInLegend, getStartZ, getTitle, getUseAxis, getValueColor, getValueFormat, getValueIndexSwapper, getValueList, getValueList, getValueMarkText, getValuesLists, getVertAxis, getVerticalAxis, getVisible, getXValues, getYMandatory, getYValueList, getYValues, getZOrder, hasClickEvents, hasDataSource, hasListenersOf, hasNoMandatoryValues, isNull, isPointInChartRect, isValidSeriesSource, lastDisplayed, lastVisibleMark, legendItemColor, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, numSampleValues, onDisposing, prepareForGallery, randomBounds, readResolve, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setActive, setChart, 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, setSubGallery, setTitle, setValueFormat, setValueList, setVerticalAxis, setVisible, setXValues, setYValues, setZOrder, setZPositions, sortByLabels, sortByLabels, swapValueIndex, titleOrName, toString, valuesListAdd, xScreenToValue, yScreenToValue
 
Methods inherited from class com.steema.teechart.TeeBase
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.steema.teechart.styles.ISeries
getChart, invalidate
 

Field Detail

vzValues

protected ValueList vzValues
Constructor Detail

Custom3D

protected Custom3D()

Custom3D

protected Custom3D(IBaseChart c)
Method Detail

calcZOrder

public void calcZOrder()
Overrides:
calcZOrder in class Series

drawMark

protected void drawMark(int valueIndex,
                        java.lang.String s,
                        SeriesMarksPosition position)
Overrides:
drawMark in class Series

prepareLegendCanvas

protected void prepareLegendCanvas(IGraphics3D g,
                                   int valueIndex,
                                   Color backColor,
                                   ChartBrush aBrush)
Overrides:
prepareLegendCanvas in class Series

getZValues

public ValueList getZValues()
Values defining Z grid point positions.
ZValues is a standard IValueList object.

Returns:
ValueList

add

public void add(double[] xValues,
                double[] yValues,
                double[] zValues,
                Color[] colorValues)
Adds the X, Y, Z and Color arrays.

Parameters:
xValues - double[]
yValues - double[]
zValues - double[]
colorValues - Color[]

add

public void add(double[] xValues,
                double[] yValues,
                double[] zValues)
Adds the X, Y and Z arrays.

Parameters:
xValues - double[]
yValues - double[]
zValues - double[]

add

public void add(java.util.Vector xValues,
                java.util.Vector yValues,
                java.util.Vector zValues,
                java.util.Vector colorValues)
Adds the X, Y, Z and colorValues arrays.

Parameters:
xValues - ArrayList
yValues - ArrayList
zValues - ArrayList
colorValues - ArrayList

add

public void add(java.util.Vector xValues,
                java.util.Vector yValues,
                java.util.Vector zValues)
Adds the X, Y and Z arrays.

Parameters:
xValues - ArrayList
yValues - ArrayList
zValues - ArrayList

add

public int add(double x,
               double y,
               double z)
Adds a new point to a 3D Series.

Parameters:
x - double
y - double
z - double
Returns:
int

add

public int add(double x,
               double y,
               double z,
               Color color)
Adds a new point to a 3D Series and color.

Parameters:
x - double
y - double
z - double
color - Color
Returns:
int

add

public int add(double x,
               double y,
               double z,
               java.lang.String text)
Adds a new point to a 3D Series and label.

Parameters:
x - double
y - double
z - double
text - String
Returns:
int

add

public int add(double x,
               double y,
               double z,
               java.lang.String text,
               Color color)
Adds a new point to a 3D Series, label and color.

Parameters:
x - double
y - double
z - double
text - String
color - Color
Returns:
int

add

public int add(DateTime aDate,
               double y,
               double z,
               java.lang.String text,
               Color color)
Adds a new Datetime point to a 3D Series, label and color.

Parameters:
aDate - DateTime Datetime value
y - double Y value
z - double Z value
text - String
color - Color Point Color
Returns:
int index of added point

calcZPos

protected int calcZPos(int valueIndex)

isValidSourceOf

public boolean isValidSourceOf(Series value)
Checks if given series object instance is a Custom3D instance.

Overrides:
isValidSourceOf in class Series
Parameters:
value - Series
Returns:
boolean

getMaxZValue

public double getMaxZValue()
Checks if given series object instance is a Custom3D instance.

Specified by:
getMaxZValue in interface ISeries
Overrides:
getMaxZValue in class Series
Returns:
double

getMinZValue

public double getMinZValue()
Returns Minimum Z Value.

Specified by:
getMinZValue in interface ISeries
Overrides:
getMinZValue in class Series
Returns:
double

getTimesZOrder

public int getTimesZOrder()
For internal use.
Default value: 3

Returns:
int

setTimesZOrder

public void setTimesZOrder(int value)
For internal use.
Default value: 3

Parameters:
value - int

valueListOfAxis

public ValueList valueListOfAxis(Axis a)
Overrides:
valueListOfAxis in class Series

getPoint

public SeriesXYPoint getPoint(int index)
XYZ Point characteristics

Overrides:
getPoint in class Series
Parameters:
index - int
Returns:
SeriesXYPoint