com.steema.teechart.styles
Class Points3D

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.Points3D
All Implemented Interfaces:
ISeries
Direct Known Subclasses:
CustomErrorPoint3D

public class Points3D
extends Custom3D

Title: Points3D class

Description: Points3D Series. Each point has XYZ coordinates.

Example:


 series = new com.steema.teechart.styles.Points3D(myChart.getChart());
 series.getMarks().setVisible(false);
 series.getBaseLine().setVisible(true);
 series.getBaseLine().setColor(Color.NAVY);
 series.getLinePen().setVisible(false);
 series.getPointer().setInflateMargins(true);
 series.getPointer().setStyle(PointerStyle.RECTANGLE);
 series.getPointer().setVisible(true);
 series.fillSampleValues();
 

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
 
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, 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
Points3D()
           
Points3D(IBaseChart c)
           
 
Method Summary
protected  void addSampleValues(int numValues)
           
 void calcHorizMargins(Margins margins)
          Returns the number of pixels for horizontal margins
 void calcVerticalMargins(Margins margins)
          Returns the number of pixels for vertical margins
protected  void calcZPositions(int valueIndex)
           
 int clicked(int x, int y)
          The ValueIndex of the "clicked" point in the Series.
 void createSubGallery(Gallery addSubChart)
           
protected  void drawLegendShape(IGraphics3D g, int valueIndex, Rectangle r)
           
protected  void drawMark(int valueIndex, java.lang.String s, SeriesMarksPosition position)
           
 void drawValue(int valueIndex)
          Called internally.
 ChartPen getBaseLine()
          Sets the Pen for the Point3D connecting Lines.
 Color getColor()
          Default color for all points.
 double getDepthSize()
          The Depth of each 3DPoint to the value of DepthSize.
 java.lang.String getDescription()
          Gets descriptive text.
 ChartPen getLinePen()
          Sets the Pen for the Point3D connecting Lines.
 double getMaxZValue()
          Returns MaxZValue.
 SeriesPointer getPointer()
          Each point in a PointSeries is drawn using the Pointer properties.
 TreatNullsStyle getTreatNulls()
          Defines how null points are treated.
protected  void onGetPointerStyle(int valueIndex, PointerStyle style, Color aColor)
           
 void prepareForGallery(boolean isEnabled)
           
 void removePointerStyleResolver()
           
 void setChart(IBaseChart value)
          Chart associated with this object.
 void setColor(Color value)
          Default color for all points.
 void setDepthSize(double value)
          Sets the Depth of each 3DPoint to the value of DepthSize.
 void setPointerStyleResolver(PointerStyleResolver resolver)
           
 void setSubGallery(int index)
          Creates and prepares the index'th Series style to show at sub-gallery dialog.
 void setTreatNulls(TreatNullsStyle value)
           
 
Methods inherited from class com.steema.teechart.styles.Custom3D
add, add, add, add, add, add, add, add, add, calcZOrder, calcZPos, getMinZValue, getPoint, getTimesZOrder, getZValues, isValidSourceOf, prepareLegendCanvas, setTimesZOrder, valueListOfAxis
 
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, addSeriesMouseListener, addSeriesPaintListener, addValues, assign, assignDispose, assignValues, associatedToAxis, beginUpdate, calcFirstLastVisibleIndex, calcPercentSt, calcPosValue, calculateMarkPosition, calcXPos, calcXPosValue, calcXSizeValue, calcYPos, calcYPosValue, calcYSizeValue, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clearLists, clicked, clone, cloneSeries, convertArray, countLegendItems, createNewSeries, createNewSeries, createNewSeries, dataSourceArray, delete, delete, delete, dispose, doAfterDrawValues, doBeforeDrawChart, doBeforeDrawValues, doClick, doClickPointer, doDoubleClick, draw, drawHiddenValue, drawLegend, drawLegend, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, galleryChanged3D, getActive, getAllowSinglePoint, getBrush, getColorEach, getColorMember, getColors, getCount, getCountLegendItems, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDefaultColor, getDefaultNullValue, getDepth, 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, randomBounds, readResolve, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setActive, 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, 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
 

Constructor Detail

Points3D

public Points3D(IBaseChart c)

Points3D

public Points3D()
Method Detail

setPointerStyleResolver

public void setPointerStyleResolver(PointerStyleResolver resolver)

removePointerStyleResolver

public void removePointerStyleResolver()

getPointer

public SeriesPointer getPointer()
Each point in a PointSeries is drawn using the Pointer properties.
It is a subclass of Points series, Line series and all other derived PointSeries classes like Bubble series.
Default value: null

Returns:
SeriesPointer

getColor

public Color getColor()
Default color for all points.
Default value: ""

Specified by:
getColor in interface ISeries
Overrides:
getColor in class Series
Returns:
Color
See Also:
Series.getColorEach()

setColor

public void setColor(Color value)
Default color for all points.
Default value: ""

Overrides:
setColor in class Series
Parameters:
value - Color
See Also:
Series.getColorEach()

getLinePen

public ChartPen getLinePen()
Sets the Pen for the Point3D connecting Lines.

Returns:
ChartPen

getBaseLine

public ChartPen getBaseLine()
Sets the Pen for the Point3D connecting Lines.

Example:


 series.getBaseLine().setVisible(true);
 

Returns:
ChartPen

createSubGallery

public void createSubGallery(Gallery addSubChart)
Overrides:
createSubGallery in class Series

setSubGallery

public void setSubGallery(int index)
Description copied from class: Series
Creates and prepares the index'th Series style to show at sub-gallery dialog.

Specified by:
setSubGallery in interface ISeries
Overrides:
setSubGallery in class Series
Parameters:
index - int

getDepthSize

public double getDepthSize()
The Depth of each 3DPoint to the value of DepthSize.
Default value: O

Returns:
double

setDepthSize

public void setDepthSize(double value)
Sets the Depth of each 3DPoint to the value of DepthSize.
Default value: O

Parameters:
value - double

calcZPositions

protected void calcZPositions(int valueIndex)

addSampleValues

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

calcHorizMargins

public void calcHorizMargins(Margins margins)
Description copied from class: Series
Returns the number of pixels for horizontal margins

Overrides:
calcHorizMargins in class Series
Parameters:
margins - Margins

calcVerticalMargins

public void calcVerticalMargins(Margins margins)
Description copied from class: Series
Returns the number of pixels for vertical margins

Overrides:
calcVerticalMargins in class Series
Parameters:
margins - Margins

drawLegendShape

protected void drawLegendShape(IGraphics3D g,
                               int valueIndex,
                               Rectangle r)
Overrides:
drawLegendShape in class Series

drawMark

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

prepareForGallery

public void prepareForGallery(boolean isEnabled)
Overrides:
prepareForGallery in class Series

setChart

public void setChart(IBaseChart value)
Description copied from class: TeeBase
Chart associated with this object.

Specified by:
setChart in interface ISeries
Overrides:
setChart in class Series
Parameters:
value - IBaseChart

onGetPointerStyle

protected void onGetPointerStyle(int valueIndex,
                                 PointerStyle style,
                                 Color aColor)

drawValue

public void drawValue(int valueIndex)
Called internally. Draws the "ValueIndex" point of the Series.

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

getMaxZValue

public double getMaxZValue()
Returns MaxZValue.

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

getDescription

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

Overrides:
getDescription in class Series
Returns:
String

clicked

public int clicked(int x,
                   int y)
The ValueIndex of the "clicked" point in the Series.

Specified by:
clicked in interface ISeries
Overrides:
clicked in class Series
Parameters:
x - int
y - int
Returns:
int

getTreatNulls

public TreatNullsStyle getTreatNulls()
Defines how null points are treated.

Returns:
TreatNullsStyle

setTreatNulls

public void setTreatNulls(TreatNullsStyle value)