com.steema.teechart.styles
Class Vector3D

java.lang.Object
  extended by com.steema.teechart.TeeBase
      extended by com.steema.teechart.styles.Series
          extended by com.steema.teechart.styles.Custom3D
              extended by com.steema.teechart.styles.Custom3DPalette
                  extended by com.steema.teechart.styles.Vector3D
All Implemented Interfaces:
ISeries, java.io.Serializable, java.lang.Cloneable

public class Vector3D
extends Custom3DPalette

Title: Vector3D class

Description: Vector3D Series.

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

Company: Steema Software SL

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.steema.teechart.styles.Custom3DPalette
Custom3DPalette.ColorResolver
 
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series
Series.MarkTextResolver
 
Field Summary
 
Fields inherited from class com.steema.teechart.styles.Custom3DPalette
bUseColorRange, bUsePalette, iPaletteSteps
 
Fields inherited from class com.steema.teechart.styles.Custom3D
vzValues
 
Fields inherited from class com.steema.teechart.styles.Series
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, InternalUse, 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
 
Constructor Summary
Vector3D()
           
Vector3D(IBaseChart c)
           
 
Method Summary
 int add(double x0, double y0, double z0, double x1, double y1, double z1)
          Adds a new 3D vector line to series from (x0, y0, z0) to (x1, y1, z1) as axis values.
 int add(double x0, double y0, double z0, double x1, double y1, double z1, java.lang.String text, Color color)
          Adds a new 3D vector line to series from (x0, y0, z0) to (x1, y1, z1) as axis values with a specified text and color.
protected  void addSampleValues(int numValues)
           
 void drawValue(int valueIndex)
          Called internally.
 int getArrowHeight()
          The arrow height in pixels.
 int getArrowWidth()
          The arrow width in pixels.
 java.lang.String getDescription()
          Gets descriptive text.
 ChartPen getEndArrow()
          When Visible, this pen is used to display arrows at the end coordinate of vector lines.
 ValueList getEndXValues()
          List of values representing the end X coordinates of vector lines.
 ValueList getEndYValues()
          List of values representing the end Y coordinates of vector lines.
 ValueList getEndZValues()
          List of values representing the end Z coordinates of vector lines.
 double getMaxXValue()
          The biggest value in the Series XValues array.
 double getMaxYValue()
          The biggest value in the Series YValues array.
 double getMaxZValue()
          The biggest value in the Series ZValues array.
 double getMinXValue()
          The smallest value in the Series XValues array.
 double getMinYValue()
          The smallest value in the Series YValues array.
 double getMinZValue()
          The smallest value in the Series ZValues array.
 ChartPen getStartArrow()
          When Visible, this pen is used to display arrows at the start coordinate of vector lines.
 boolean isValidSourceOf(ISeries value)
           
protected  int numSampleValues()
           
 void setArrowHeight(int value)
          Sets the arrow height in pixels.
 void setArrowWidth(int value)
          Seets the arrow width in pixels.
 
Methods inherited from class com.steema.teechart.styles.Custom3DPalette
addPalette, clearPalette, createDefaultPalette, createSubGallery, doBeforeDrawChart, drawLegendShape, galleryChanged3D, getBlueFactor, getBrush, getCountLegendItems, getEndColor, getGreenFactor, getLegendString, getMidColor, getPalette, getPaletteMin, getPaletteRange, getPaletteStep, getPaletteSteps, getPaletteStyle, getPen, getRedFactor, getStartColor, getUseColorRange, getUsePalette, getUsePaletteMin, getValueColor, getValueColorValue, legendItemColor, prepareForGallery, readResolve, removeColorResolver, setBlueFactor, setChart, setColorResolver, setEndColor, setGreenFactor, setMidColor, setPaletteMin, setPaletteRange, setPaletteStep, setPaletteSteps, setPaletteStyle, setRainbowPalette, setRedFactor, setStartColor, setSubGallery, setUseColorRange, setUsePalette, setUsePaletteMin
 
Methods inherited from class com.steema.teechart.styles.Custom3D
add, add, add, add, add, add, calcZOrder, calcZPos, drawMark, getPoint, getTimesZOrder, getZValues, isValidSourceOf, prepareLegendCanvas, setTimesZOrder
 
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, addChartValue, added, addNull, addNullXY, addSeriesMouseListener, addSeriesPaintListener, addValues, assign, assignDispose, assignValues, associatedToAxis, beginUpdate, calcFirstLastVisibleIndex, calcHorizMargins, calcPosValue, calcVerticalMargins, calcXPos, calcXPosValue, calcXSizeValue, calcYPos, calcYPosValue, calcYSizeValue, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clearLists, clicked, clicked, clone, cloneSeries, convertArray, createNewSeries, createNewSeries, dataSourceArray, delete, delete, delete, dispose, doAfterDrawValues, doBeforeDrawValues, doClick, doClickPointer, doDoubleClick, draw, drawLegend, drawLegend, drawMarks, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, getActive, getAllowSinglePoint, getBitmapEditor, getColor, getColorEach, getColorMember, getColors, getCount, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDepth, getEndZ, getFields, getFirstVisible, getFunction, getHasZValues, getHorizAxis, getHorizontalAxis, getLabelMember, getLabels, getLastVisible, getMandatory, getMarks, getMarkText, getMarkValue, getMiddleZ, getNotMandatory, getNumGallerySeries, getNumSampleValues, getOriginValue, getPercentFormat, getSeriesColor, getShowInLegend, getStartZ, getTitle, getUseAxis, getValueFormat, getValueIndexSwapper, getValueList, getValueList, getValueMarkText, getValuesLists, getVertAxis, getVerticalAxis, getVisible, getXValues, getYMandatory, getYValueList, getYValues, getZOrder, hasDataSource, hasListenersOf, hasNoMandatoryValues, isNull, isValidSeriesSource, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, onDisposing, paintLegend, randomBounds, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setActive, setColor, setColorEach, setColorMember, setColors, setCursor, setCustomHorizAxis, setCustomHorizAxis, setCustomVertAxis, setCustomVertAxis, setDataSource, setDepth, setEndZ, setFunction, setHorizontal, setHorizontalAxis, setLabelMember, setLabels, setMarks, setMarkTextResolver, setMiddleZ, setNull, setPercentFormat, setSeriesColor, setShowInLegend, setStartZ, 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, 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
 

Constructor Detail

Vector3D

public Vector3D(IBaseChart c)

Vector3D

public Vector3D()
Method Detail

getArrowHeight

public int getArrowHeight()
The arrow height in pixels.
Default value: 4

Returns:
int

setArrowHeight

public void setArrowHeight(int value)
Sets the arrow height in pixels.
Default value: 4

Parameters:
value - int

getArrowWidth

public int getArrowWidth()
The arrow width in pixels.
Default value: 4

Returns:
int

setArrowWidth

public void setArrowWidth(int value)
Seets the arrow width in pixels.
Default value: 4

Parameters:
value - int

getEndXValues

public ValueList getEndXValues()
List of values representing the end X coordinates of vector lines.

Returns:
ValueList

getEndYValues

public ValueList getEndYValues()
List of values representing the end Y coordinates of vector lines.

Returns:
ValueList

getEndZValues

public ValueList getEndZValues()
List of values representing the end Z coordinates of vector lines.

Returns:
ValueList

getEndArrow

public ChartPen getEndArrow()
When Visible, this pen is used to display arrows at the end coordinate of vector lines.

Returns:
ChartPen

getStartArrow

public ChartPen getStartArrow()
When Visible, this pen is used to display arrows at the start coordinate of vector lines.

Returns:
ChartPen

addSampleValues

protected void addSampleValues(int numValues)
Overrides:
addSampleValues in class Series

add

public int add(double x0,
               double y0,
               double z0,
               double x1,
               double y1,
               double z1)
Adds a new 3D vector line to series from (x0, y0, z0) to (x1, y1, z1) as axis values.

Parameters:
x0 - double
y0 - double
z0 - double
x1 - double
y1 - double
z1 - double
Returns:
int

add

public int add(double x0,
               double y0,
               double z0,
               double x1,
               double y1,
               double z1,
               java.lang.String text,
               Color color)
Adds a new 3D vector line to series from (x0, y0, z0) to (x1, y1, z1) as axis values with a specified text and color.

Parameters:
x0 - double
y0 - double
z0 - double
x1 - double
y1 - double
z1 - double
text - String
color - Color
Returns:
int

drawValue

public void drawValue(int valueIndex)
Description copied from class: Series
Called internally. Draws the "ValueIndex" point of the Series.

Specified by:
drawValue in interface ISeries
Overrides:
drawValue in class Series
Parameters:
valueIndex - int

isValidSourceOf

public boolean isValidSourceOf(ISeries value)

numSampleValues

protected int numSampleValues()
Overrides:
numSampleValues in class Series

getMaxXValue

public double getMaxXValue()
The biggest value in the Series XValues array.

Overrides:
getMaxXValue in class Series
Returns:
double

getMinXValue

public double getMinXValue()
The smallest value in the Series XValues array.

Overrides:
getMinXValue in class Series
Returns:
double

getMaxYValue

public double getMaxYValue()
The biggest value in the Series YValues array.

Overrides:
getMaxYValue in class Series
Returns:
double

getMinYValue

public double getMinYValue()
The smallest value in the Series YValues array.

Overrides:
getMinYValue in class Series
Returns:
double

getMaxZValue

public double getMaxZValue()
The biggest value in the Series ZValues array.

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

getMinZValue

public double getMinZValue()
The smallest value in the Series ZValues array.

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

getDescription

public java.lang.String getDescription()
Gets descriptive text.

Overrides:
getDescription in class Series
Returns:
String