public class Volume extends Custom
Title: Volume class
Description: Volume Series.
Example:
volumeSeries = new Volume(myChart.getChart()); volumeSeries.getMarks().setVisible(false); volumeSeries.setColor(Color.RED); volumeSeries.fillSampleValues(50); volumeSeries.setUseOrigin(true);
Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Series.MarkTextResolver| Modifier and Type | Field and Description |
|---|---|
protected ChartPen |
linePen |
protected boolean |
treatNans |
protected TreatNullsStyle |
treatnulls |
bAreaBrush, bClickableLine, bDark3D, drawArea, drawLine, pAreaLinesiStacked, pointAUTODEPTH, 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 |
|---|
Volume() |
Volume(IBaseChart c) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(double[] xValues,
double[] yValues,
boolean append) |
int |
add(double x,
double y)
Adds a new point with specified x and y values.
|
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. |
protected double |
calcMinMaxValue(boolean isMin) |
int |
clicked(int x,
int y)
Returns the ValueIndex of the "clicked" point in the Series.
|
void |
createSubGallery(Gallery addSubChart) |
protected boolean |
doNotPaintNull() |
protected void |
drawLegendShape(IGraphics3D g,
int valueIndex,
Rectangle r) |
void |
drawValue(int valueIndex)
Called internally.
|
java.lang.String |
getDescription()
Gets descriptive text.
|
ChartPen |
getLinePen()
Determines pen to draw the line connecting all points.
|
double |
getOrigin()
Defines the YValue used as the origin for the specified Volume Series.
|
boolean |
getTreatNaNAsNull() |
TreatNullsStyle |
getTreatNulls()
Defines how null points are treated.
|
boolean |
getUseOrigin()
Enables/Disables the Y value that defines the bottom position for Volume
points.
Default value: false |
protected boolean |
IgnoreNull() |
protected int |
numSampleValues() |
int |
originPosition() |
void |
prepareForGallery(boolean isEnabled) |
void |
setColor(Color color)
Default color for all points.
Default value: Color.Empty |
void |
setOrigin(double value)
Defines the YValue used as the origin for the specified Volume Series.
|
void |
setSubGallery(int index)
Creates and prepares the index'th Series style to show at sub-gallery
dialog.
|
void |
setTreatNaNAsNull(boolean value) |
void |
setTreatNulls(TreatNullsStyle value) |
void |
setUseOrigin(boolean value)
Enables/Disables the Y value that defines the bottom position for Volume
points.
Default value: false |
calcHorizMargins, calcVerticalMargins, draw, drawHiddenValue, getAreaBrushColor, getBrush, getClickableLine, getColorEachLine, getDark3D, getInvertedStairs, getLineHeight, getOpacity, getOutLine, getSmoothed, getStairs, getTransparency, readResolve, setChart, setClickableLine, setColorEachLine, setDark3D, setInvertedStairs, setLineHeight, setOpacity, setSmoothed, setStairs, setTransparency, SmoothSeriesaddSeriesMouseListener, calcXPos, calcYPos, calcZOrder, clickedPointer, drawMark, drawPointer, getMaxXValue, getMaxYValue, getMinXValue, getMinYValue, getOriginPos, getPointer, getStacked, onGetPointerStyle, removePointerStyleResolver, removeSeriesMouseListener, sameClassOrigin, setPointerStyleResolver, setStackedadd, 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, addSeriesPaintListener, addValues, assignDispose, assignValues, associatedToAxis, beginUpdate, calcFirstLastVisibleIndex, calcPercentSt, calcPosValue, calculateMarkPosition, calcXPosValue, calcXSizeValue, 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, drawLegend, drawLegend, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, galleryChanged3D, getActive, getAllowSinglePoint, getBitmapEditor, getColor, 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, getMaxZValue, getMiddleZ, getMinZValue, getNotMandatory, getNumGallerySeries, getNumSampleValues, getOriginValue, getPercentFormat, getPoint, 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, isValidSourceOf, lastDisplayed, lastVisibleMark, legendItemColor, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, onDisposing, prepareLegendCanvas, randomBounds, recalcGetAxis, refreshSeries, removeMarkTextResolver, 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, valueListOfAxis, valuesListAdd, xScreenToValue, yScreenToValuegetChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringPropertyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChart, invalidateprotected ChartPen linePen
protected TreatNullsStyle treatnulls
protected boolean treatNans
public Volume(IBaseChart c)
public Volume()
public void assign(Series source)
Seriespublic boolean getUseOrigin()
public void setUseOrigin(boolean value)
value - booleanpublic double getOrigin()
public void setOrigin(double value)
value - doubleprotected void addSampleValues(int numValues)
addSampleValues in class Seriespublic void createSubGallery(Gallery addSubChart)
createSubGallery in class Seriespublic void setSubGallery(int index)
SeriessetSubGallery in interface ISeriessetSubGallery in class Seriesindex - intprotected void drawLegendShape(IGraphics3D g, int valueIndex, Rectangle r)
drawLegendShape in class Custompublic void drawValue(int valueIndex)
public int clicked(int x,
int y)
public int originPosition()
public void prepareForGallery(boolean isEnabled)
prepareForGallery in class Seriespublic void setColor(Color color)
SeriessetColor in class Customcolor - ColorSeries.getColorEach()protected int numSampleValues()
numSampleValues in class Seriespublic java.lang.String getDescription()
getDescription in class Seriesprotected double calcMinMaxValue(boolean isMin)
public ChartPen getLinePen()
public TreatNullsStyle getTreatNulls()
public void setTreatNulls(TreatNullsStyle value)
public void add(double[] xValues,
double[] yValues,
boolean append)
public int add(double x,
double y)
Seriesprotected boolean IgnoreNull()
protected boolean doNotPaintNull()
public boolean getTreatNaNAsNull()
public void setTreatNaNAsNull(boolean value)