public class Tower extends Custom3DGrid
Title: Tower class
Description: Tower Series.
The Tower Series is designed to use a 0 or 1 based integer grid index.
X and Z values should be sequential values of 1.
Example:
series = new Tower(myChart.getChart()); series.setOrigin(500.0); series.setUseOrigin(true); series.setPaletteStyle(PaletteStyle.STRONG); series.setUseColorRange(false); series.setUsePalette(true); series.fillSampleValues();
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Custom3DGrid.CellsRow, Custom3DGrid.PCellsRow, Custom3DGrid.YCalculator
Custom3DPalette.ColorResolver
Series.MarkTextResolver
FXStartIndex, FZStartIndex, gridIndex, iInGallery, iNextXCell, iNextZCell, iNumXValues, iNumZValues, valueIndex0, valueIndex1, valueIndex2, valueIndex3
bUseColorRange, bUsePalette, iPaletteSteps, sameBrush
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 |
---|
Tower() |
Tower(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. |
void |
createSubGallery(Gallery addSubChart) |
protected void |
draw() |
protected void |
drawMark(int valueIndex,
java.lang.String s,
SeriesMarksPosition position) |
boolean |
getDark3D()
When true, draws right and top sides of cubes using a darker color.
|
java.lang.String |
getDescription()
Gets descriptive text.
|
double |
getMaxXValue()
The Maximum Value of the Series X Values List.
|
double |
getMaxZValue()
The biggest value in the Series ZValues array.
|
double |
getMinXValue()
The Minimum Value of the Series X Values List.
|
double |
getMinZValue()
The lowest value in the Series ZValues array.
|
double |
getOrigin()
The axis vertical position considered to be the "origin" of points.
|
int |
getPercentDepth()
The percentage of "Z" depth size for tower cubes.
|
int |
getPercentWidth()
The percentage of "X" width size for tower cubes.
Default value: 100 |
TowerStyle |
getTowerStyle()
The kind of tower style to display.
|
int |
getTransparency()
The Transparency level from 0 to 100%.
|
boolean |
getUseOrigin()
When true, Origin is used as the reference value where points are
considered positive or negative.
|
void |
prepareForGallery(boolean isEnabled) |
void |
setDark3D(boolean value)
When true, draws right and top sides of cubes using a darker color.
|
void |
setOrigin(double value)
The axis vertical position considered to be the "origin" of points.
|
void |
setPercentDepth(int value)
The percentage of "Z" depth size for tower cubes.
|
void |
setPercentWidth(int value)
The percentage of "X" width size for tower cubes.
Default value: 100 |
void |
setSubGallery(int index)
Creates and prepares the index'th Series style to show at sub-gallery
dialog.
|
void |
setTowerStyle(TowerStyle value)
Determines the kind of tower style to display.
|
void |
setTransparency(int value)
Sets Transparency level from 0 to 100%.
|
void |
setUseOrigin(boolean value)
When true, Origin is used as the reference value where points are
considered positive or negative.
|
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, readResolve, removeColorResolver, setBlueFactor, setChart, 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, getPoint, getTimesZOrder, getZValues, isValidSourceOf, prepareLegendCanvas, 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, getMaxYValue, getMiddleZ, 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 Tower()
public Tower(IBaseChart c)
public void assign(Series source)
Series
public boolean getDark3D()
public void setDark3D(boolean value)
value
- booleanpublic int getPercentDepth()
public void setPercentDepth(int value)
value
- intpublic int getPercentWidth()
public void setPercentWidth(int value)
value
- intpublic TowerStyle getTowerStyle()
public void setTowerStyle(TowerStyle value)
value
- TowerStylepublic double getOrigin()
getUseOrigin()
public void setOrigin(double value)
value
- doublegetUseOrigin()
public boolean getUseOrigin()
public void setUseOrigin(boolean value)
value
- booleanpublic int getTransparency()
public void setTransparency(int value)
value
- intpublic void createSubGallery(Gallery addSubChart)
createSubGallery
in class Custom3DPalette
protected void drawMark(int valueIndex, java.lang.String s, SeriesMarksPosition position)
public void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Custom3DPalette
public void setSubGallery(int index)
Series
setSubGallery
in interface ISeries
setSubGallery
in class Custom3DPalette
index
- intpublic double getMaxXValue()
getMaxXValue
in class Series
public double getMaxZValue()
getMaxZValue
in interface ISeries
getMaxZValue
in class Custom3D
public double getMinXValue()
getMinXValue
in class Series
public double getMinZValue()
getMinZValue
in interface ISeries
getMinZValue
in class Custom3D
public java.lang.String getDescription()
getDescription
in class Series