|
||||||||||
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.CustomBar
com.steema.teechart.styles.Bar
com.steema.teechart.styles.Bar3D
public class Bar3D
Title: Bar3D class
Description: Bar3D series.
Example:
series1 = new Bar3D(myChart.getChart()); series1.add( 0, 250, 200, "A", Color.RED ); series1.add( 1, 10, 200, "B", Color.GREEN ); series1.add( 2, 90, 100, "C", Color.YELLOW ); series1.add( 3, 30, 50, "D", Color.BLUE ); series1.add( 4, 70, 150, "E", Color.WHITE ); series1.add( 5, 120, 150, "F", Color.SILVER ); series1.setColorEach(true); series1.getMarks().setArrowLength(20); series1.getMarks().setVisible(true); series1.setBarStyle(BarStyle.RECTGRADIENT); series1.setBarWidthPercent(90); series1.getGradient().setDirection(GradientDirection.HORIZONTAL); series1.getGradient().setStartColor(Color.YELLOW);
Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.steema.teechart.styles.CustomBar |
---|
CustomBar.BarStyleResolver |
Nested classes/interfaces inherited from class com.steema.teechart.styles.Series |
---|
Series.MarkTextResolver |
Field Summary |
---|
Fields inherited from class com.steema.teechart.styles.CustomBar |
---|
barSizePercent, bDark3D, bUseOrigin, conePercent, customBarSize, dOrigin, iBarBounds, iBarSize, iMultiBar, iNumBars, iOrderPos, iPreviousCount, marksOnBar, normalBarColor, pPen |
Fields inherited from class com.steema.teechart.styles.Series |
---|
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, 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, InternalUse |
Constructor Summary | |
---|---|
Bar3D()
|
|
Bar3D(IBaseChart c)
|
Method Summary | |
---|---|
int |
add(double x,
double y,
double offset)
Adds a bar with an X and Y value and Y start point. |
int |
add(double x,
double y,
double offset,
Color color)
Adds a bar with an X and Y value, Y start point and color. |
int |
add(double x,
double y,
double offset,
java.lang.String text)
Adds a bar with an X and Y value with offset and label. |
int |
add(double x,
double y,
double offset,
java.lang.String text,
Color color)
Adds a bar with an X and Y value, Y start point, label and color. |
protected void |
addSampleValues(int numValues)
|
java.lang.String |
getDescription()
Gets descriptive text. |
double |
getMaxYValue()
Returns the Maximum Value of the Series Y Values List. |
double |
getMinYValue()
Returns the Minimum Value of the Series Y Values List. |
ValueList |
getOffsetValues()
Specifies a different origin value for each bar point. |
double |
getOriginValue(int valueIndex)
|
double |
pointOrigin(int valueIndex,
boolean sumAll)
Returns the corresponding screen pixels coordinate of the leftmost horizontal bar edge. |
void |
setOffsetValues(ValueList value)
Specifies a different origin value for each bar point. |
protected boolean |
subGalleryStack()
|
Methods inherited from class com.steema.teechart.styles.Bar |
---|
calcBarBounds, calcHorizMargins, calcVerticalMargins, calcXPos, calcYPos, drawBar, drawMark, drawMarks, drawTickLine, drawValue, getBarWidthPercent, getMaxXValue, getMinXValue, getOriginPos, internalCalcMarkLength, internalClicked, moreSameZOrder, setBarWidthPercent |
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, 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 |
Constructor Detail |
---|
public Bar3D()
public Bar3D(IBaseChart c)
Method Detail |
---|
protected void addSampleValues(int numValues)
addSampleValues
in class Series
public int add(double x, double y, double offset, Color color)
x
- doubley
- doubleoffset
- doublecolor
- Color
public int add(double x, double y, double offset)
x
- doubley
- doubleoffset
- double
public int add(double x, double y, double offset, java.lang.String text)
x
- doubley
- doubleoffset
- doubletext
- String
public int add(double x, double y, double offset, java.lang.String text, Color color)
x
- doubley
- doubleoffset
- doubletext
- Stringcolor
- Color
public double getOriginValue(int valueIndex)
getOriginValue
in interface ISeries
getOriginValue
in class Series
public double getMaxYValue()
getMaxYValue
in class Bar
public double getMinYValue()
getMinYValue
in class Bar
public double pointOrigin(int valueIndex, boolean sumAll)
pointOrigin
in class CustomBar
valueIndex
- intsumAll
- boolean
public ValueList getOffsetValues()
public void setOffsetValues(ValueList value)
value
- ValueListpublic java.lang.String getDescription()
getDescription
in class Bar
protected boolean subGalleryStack()
subGalleryStack
in class CustomBar
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |