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
Series.MarkTextResolverAUTODEPTH, 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, yMandatorychart, InternalUse| Constructor and Description |
|---|
Points3D() |
Points3D(IBaseChart c) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSampleValues(int numValues) |
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. |
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.
Default value: "" |
double |
getDepthSize()
The Depth of each 3DPoint to the value of DepthSize.
Default value: O |
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.
It is a subclass of Points series, Line series and all other derived PointSeries classes like Bubble series. Default value: null |
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.
Default value: "" |
void |
setDepthSize(double value)
Sets the Depth of each 3DPoint to the value of DepthSize.
Default value: O |
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) |
add, add, add, add, add, add, add, add, add, calcZOrder, calcZPos, getMinZValue, getPoint, getTimesZOrder, getZValues, isValidSourceOf, prepareLegendCanvas, setTimesZOrder, valueListOfAxisadd, 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, 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, getBitmapEditor, 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, hasColors, hasDataSource, hasLabels, 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, sortDrawSeries, swapValueIndex, titleOrName, toString, valuesListAdd, xScreenToValue, yScreenToValuegetChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringPropertyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChart, invalidatepublic Points3D(IBaseChart c)
public Points3D()
public void setPointerStyleResolver(PointerStyleResolver resolver)
public void removePointerStyleResolver()
public void assign(Series source)
Seriespublic SeriesPointer getPointer()
public Color getColor()
getColor in interface ISeriesgetColor in class SeriesSeries.getColorEach()public void setColor(Color value)
setColor in class Seriesvalue - ColorSeries.getColorEach()public ChartPen getLinePen()
public ChartPen getBaseLine()
Example:
series.getBaseLine().setVisible(true);
public void createSubGallery(Gallery addSubChart)
createSubGallery in class Seriespublic void setSubGallery(int index)
SeriessetSubGallery in interface ISeriessetSubGallery in class Seriesindex - intpublic double getDepthSize()
public void setDepthSize(double value)
value - doubleprotected void calcZPositions(int valueIndex)
protected void addSampleValues(int numValues)
addSampleValues in class Seriespublic void calcHorizMargins(Margins margins)
SeriescalcHorizMargins in class Seriesmargins - Marginspublic void calcVerticalMargins(Margins margins)
SeriescalcVerticalMargins in class Seriesmargins - Marginsprotected void drawLegendShape(IGraphics3D g, int valueIndex, Rectangle r)
drawLegendShape in class Seriesprotected void drawMark(int valueIndex,
java.lang.String s,
SeriesMarksPosition position)
public void prepareForGallery(boolean isEnabled)
prepareForGallery in class Seriespublic void setChart(IBaseChart value)
TeeBaseprotected void onGetPointerStyle(int valueIndex,
PointerStyle style,
Color aColor)
public void drawValue(int valueIndex)
public double getMaxZValue()
getMaxZValue in interface ISeriesgetMaxZValue in class Custom3Dpublic java.lang.String getDescription()
getDescription in class Seriespublic int clicked(int x,
int y)
public TreatNullsStyle getTreatNulls()
public void setTreatNulls(TreatNullsStyle value)