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-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Series.MarkTextResolver
bAreaBrush, bClickableLine, bDark3D, drawArea, drawLine, pAreaLines
iStacked, point
linePen, treatNans, treatnulls
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 |
---|
Volume() |
Volume(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. |
int |
clicked(int x,
int y)
Returns the ValueIndex of the "clicked" point in the Series.
|
void |
createSubGallery(Gallery addSubChart) |
protected void |
drawLegendShape(IGraphics3D g,
int valueIndex,
Rectangle r) |
void |
drawValue(int valueIndex)
Called internally.
|
java.lang.String |
getDescription()
Gets descriptive text.
|
double |
getOrigin()
Defines the YValue used as the origin for the specified Volume Series.
|
boolean |
getUseOrigin()
Enables/Disables the Y value that defines the bottom position for Volume
points.
Default value: false |
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 |
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, SmoothSeries
addSeriesMouseListener, calcXPos, calcYPos, calcZOrder, clickedPointer, drawMark, drawPointer, getMaxXValue, getMaxYValue, getMinXValue, getMinYValue, getOriginPos, getPointer, getStacked, onGetPointerStyle, removePointerStyleResolver, removeSeriesMouseListener, sameClassOrigin, setPointerStyleResolver, setStacked
add, add, calcMinMaxValue, doNotPaintNull, getLinePen, getTreatNaNAsNull, getTreatNulls, IgnoreNull, setTreatNaNAsNull, setTreatNulls
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, 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, yScreenToValue
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChart, invalidate
public Volume(IBaseChart c)
public Volume()
public void assign(Series source)
Series
public 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 Series
public void createSubGallery(Gallery addSubChart)
createSubGallery
in class Series
public void setSubGallery(int index)
Series
setSubGallery
in interface ISeries
setSubGallery
in class Series
index
- intprotected void drawLegendShape(IGraphics3D g, int valueIndex, Rectangle r)
drawLegendShape
in class Custom
public void drawValue(int valueIndex)
public int clicked(int x, int y)
public int originPosition()
public void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Series
public void setColor(Color color)
Series
setColor
in class Custom
color
- ColorSeries.getColorEach()
protected int numSampleValues()
numSampleValues
in class Series
public java.lang.String getDescription()
getDescription
in class Series