|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.styles.Series
com.steema.teechart.styles.CustomPoint
com.steema.teechart.styles.Custom
com.steema.teechart.styles.Volume
public class Volume
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-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series |
---|
Series.MarkTextResolver |
Field Summary | |
---|---|
protected ChartPen |
linePen
|
protected TreatNullsStyle |
treatnulls
|
Fields inherited from class com.steema.teechart.styles.Custom |
---|
bAreaBrush, bClickableLine, bDark3D, drawArea, drawLine, pAreaLines |
Fields inherited from class com.steema.teechart.styles.CustomPoint |
---|
iStacked, point |
Fields inherited from class com.steema.teechart.styles.Series |
---|
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, InternalUse, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory |
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
Volume()
|
|
Volume(IBaseChart c)
|
Method Summary | |
---|---|
protected void |
addSampleValues(int numValues)
|
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 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. |
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 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 |
setTreatNulls(TreatNullsStyle value)
|
void |
setUseOrigin(boolean value)
Enables/Disables the Y value that defines the bottom position for Volume points. Default value: false |
Methods inherited from class com.steema.teechart.styles.Custom |
---|
calcHorizMargins, calcVerticalMargins, draw, getAreaBrushColor, getBrush, getClickableLine, getColorEachLine, getDark3D, getInvertedStairs, getLineHeight, getOpacity, getOutLine, getStairs, getTransparency, readResolve, setChart, setClickableLine, setColorEachLine, setDark3D, setInvertedStairs, setLineHeight, setOpacity, setStairs, setTransparency |
Methods inherited from class com.steema.teechart.styles.CustomPoint |
---|
addSeriesMouseListener, assign, calcXPos, calcYPos, calcZOrder, clickedPointer, drawMark, drawPointer, getMaxXValue, getMaxYValue, getMinXValue, getMinYValue, getOriginPos, getPointer, getStacked, onGetPointerStyle, removePointerStyleResolver, removeSeriesMouseListener, sameClassOrigin, setPointerStyleResolver, setStacked |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setColorProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.steema.teechart.styles.ISeries |
---|
getChart, invalidate |
Field Detail |
---|
protected ChartPen linePen
protected TreatNullsStyle treatnulls
Constructor Detail |
---|
public Volume(IBaseChart c)
public Volume()
Method Detail |
---|
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)
drawValue
in interface ISeries
drawValue
in class Custom
valueIndex
- intpublic int clicked(int x, int y)
clicked
in interface ISeries
clicked
in class Custom
x
- inty
- int
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
protected double calcMinMaxValue(boolean isMin)
public ChartPen getLinePen()
public TreatNullsStyle getTreatNulls()
public void setTreatNulls(TreatNullsStyle value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |