public class Contour extends Custom3DGrid
Title: Contour class
Description: The Contour series calculates and displays "isolines" from a custom array of XYZ points.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Modifier and Type | Class and Description |
---|---|
class |
Contour.ContourDraw
Title: ContourDraw class
|
class |
Contour.LevelProps |
static interface |
Contour.LevelResolver |
Custom3DGrid.CellsRow, Custom3DGrid.PCellsRow, Custom3DGrid.YCalculator
Custom3DPalette.ColorResolver
Series.MarkTextResolver
Modifier and Type | Field and Description |
---|---|
protected boolean |
iModifyingLevels |
protected Contour.LevelResolver |
levelResolver |
Color |
LinesColor |
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 |
---|
Contour() |
Contour(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 |
createAutoLevels() |
void |
createSubGallery(Gallery addSubChart) |
void |
doBeforeDrawChart() |
protected void |
draw() |
protected void |
drawMark(int valueIndex,
java.lang.String s,
SeriesMarksPosition position) |
void |
drawMarks() |
boolean |
getAutomaticLevels()
The ContourSeries Automatic Levels.
Default value: true |
ContourSeriesMarks |
getContourMarks() |
int |
getCountLegendItems() |
java.lang.String |
getDescription()
Gets descriptive text.
|
ContourConstruction |
getDrawingalgorithm() |
boolean |
getFillLevels()
The ContourSeries FillLevels.
Default value: false |
ChartPen |
getFrame() |
java.lang.String |
getLegendString(int legendIndex,
LegendTextStyle legendTextStyle)
Returns LegendString for LegendIndexth item.
|
ContourLevels |
getLevels()
Accesses ContourLevel characteristics by selecting Level index.
|
double |
getMaxYValue()
The Maximum Value of the Series Y Values List.
|
double |
getMinYValue()
The Minimum Value of the Series Y Values List.
|
int |
getNumLevels()
The number of 'isobar-like' levels for the ContourSeries.
Default value: 10 |
SeriesPointer |
getPointer() |
double |
getYPosition()
Sets the Y-Axis height of the Contour Series.
When YPositionLevel is set to true, use it to set the Y-Axis height of the Contour series. This may be useful for adding several Contour series to a Chart and activating/deactivating layers. |
boolean |
getYPositionLevel()
Enables/disables YPosition to be set.
Default value: false |
Axis |
getZAxis() |
protected java.lang.Object |
readResolve() |
void |
removeContourLevelResolver() |
void |
setAutomaticLevels(boolean value)
Sets ContourSeries Automatic Levels.
Default value: true |
void |
setContourLevelResolver(Contour.LevelResolver resolver) |
void |
setContourMarks(ContourSeriesMarks value) |
void |
setDrawingalgorithm(ContourConstruction value) |
void |
setFillLevels(boolean value)
Sets ContourSeries FillLevels.
Default value: false |
void |
setLevels(ContourLevels value)
Accesses ContourLevel characteristics by selecting Level index.
|
void |
setNumLevels(int value)
Sets the number of 'isobar-like' levels for the ContourSeries.
Default value: 10 |
void |
setSubGallery(int index)
Creates and prepares the index'th Series style to show at sub-gallery
dialog.
|
void |
setYPosition(double value)
Sets the Y-Axis height of the Contour Series.
|
void |
setYPositionLevel(boolean value)
Enables YPosition to be set when true.
Default value: false |
addValues, backFaced, canCreateValues, clear, createValues, 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, getEndColor, getGreenFactor, getMidColor, getPalette, getPaletteMin, getPaletteRange, getPaletteStep, getPaletteSteps, getPaletteStyle, getPen, getRedFactor, getStartColor, getUseColorRange, getUsePalette, getUsePaletteMin, getValueColor, getValueColorValue, legendItemColor, prepareForGallery, 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, getMaxZValue, getMinZValue, 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, 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, getMaxXValue, getMiddleZ, getMinXValue, 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
protected transient boolean iModifyingLevels
public Color LinesColor
protected transient Contour.LevelResolver levelResolver
public Contour(IBaseChart c)
public Contour()
public void assign(Series source)
Series
public void createSubGallery(Gallery addSubChart)
createSubGallery
in class Custom3DPalette
public void setContourLevelResolver(Contour.LevelResolver resolver)
public void removeContourLevelResolver()
public ChartPen getFrame()
public java.lang.String getDescription()
getDescription
in class Series
protected java.lang.Object readResolve()
readResolve
in class Custom3DPalette
public boolean getAutomaticLevels()
public void setAutomaticLevels(boolean value)
value
- booleanpublic ContourSeriesMarks getContourMarks()
public void setContourMarks(ContourSeriesMarks value)
public boolean getFillLevels()
public SeriesPointer getPointer()
public void setFillLevels(boolean value)
value
- booleanpublic ContourConstruction getDrawingalgorithm()
public void setDrawingalgorithm(ContourConstruction value)
public void setSubGallery(int index)
Series
setSubGallery
in interface ISeries
setSubGallery
in class Custom3DPalette
index
- intpublic java.lang.String getLegendString(int legendIndex, LegendTextStyle legendTextStyle)
Custom3DPalette
getLegendString
in interface ISeries
getLegendString
in class Custom3DPalette
legendIndex
- intlegendTextStyle
- LegendTextStylespublic ContourLevels getLevels()
public void setLevels(ContourLevels value)
value
- ContourLevelspublic int getNumLevels()
public void setNumLevels(int value)
value
- intpublic double getYPosition()
public void setYPosition(double value)
value
- doublepublic boolean getYPositionLevel()
public Axis getZAxis()
public void setYPositionLevel(boolean value)
value
- booleanprotected void addSampleValues(int numValues)
addSampleValues
in class Custom3DGrid
public int getCountLegendItems()
getCountLegendItems
in interface ISeries
getCountLegendItems
in class Custom3DPalette
public void drawMarks()
protected void drawMark(int valueIndex, java.lang.String s, SeriesMarksPosition position)
public double getMaxYValue()
getMaxYValue
in class Series
public double getMinYValue()
getMinYValue
in class Series
public void doBeforeDrawChart()
doBeforeDrawChart
in class Custom3DGrid
public void createAutoLevels()