|
||||||||||
| 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
public class Bar
Title: Bar class
Description: The Bar Series component outputs all points as vertical bars.
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.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, normalBarColor, pPen |
| 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 | |
|---|---|
Bar()
|
|
Bar(IBaseChart c)
|
|
| Method Summary | |
|---|---|
void |
calcHorizMargins(Margins margins)
Returns the number of pixels for horizontal margins |
void |
calcVerticalMargins(Margins margins)
Returns the number of pixels for vertical margins |
int |
calcXPos(int valueIndex)
The Screen X pixel coordinate of the ValueIndex Series value. The horizontal Bar position is the "real" X pos + the BarWidth by our BarSeries order. |
int |
calcYPos(int valueIndex)
The Screen Y pixel coordinate of the ValueIndex Series value. |
void |
drawBar(int barIndex,
int startPos,
int endPos)
Internal use |
protected void |
drawMark(int valueIndex,
java.lang.String s,
SeriesMarksPosition p)
|
protected boolean |
drawSeriesForward(int valueIndex)
|
protected void |
drawTickLine(int tickPos,
BarStyle aStyle)
|
void |
drawValue(int valueIndex)
Called internally. |
int |
getBarWidthPercent()
Determines the percent of total Bar width used. Setting BarWidthPercent = 100 makes joined Bars. You can control how many Bars appear at the same time by using Page.MaxPointsPerPage. Default value: 70 |
java.lang.String |
getDescription()
Gets descriptive text. |
double |
getMaxXValue()
The Maximum Value of the Series X Values List. |
double |
getMaxYValue()
The Maximum Value of the Series Y Values List. |
double |
getMinXValue()
The Minimum Value of the Series X Values List. |
double |
getMinYValue()
The Minimum Value of the Series Y Values List. |
int |
getOriginPos(int valueIndex)
The corresponding screen pixels coordinate of the leftmost horizontal bar edge. |
protected int |
internalCalcMarkLength(int valueIndex)
|
protected boolean |
internalClicked(int valueIndex,
java.awt.Point point)
|
protected boolean |
moreSameZOrder()
Returns true if there are more series that share the same Z order. For example Stacked Bars. |
void |
setBarWidthPercent(int value)
Sets the percent of total Bar width used. Default value: 70 |
| 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 |
| Constructor Detail |
|---|
public Bar()
public Bar(IBaseChart c)
| Method Detail |
|---|
public java.lang.String getDescription()
getDescription in class Seriespublic int getBarWidthPercent()
public void setBarWidthPercent(int value)
value - intgetBarWidthPercent()protected int internalCalcMarkLength(int valueIndex)
internalCalcMarkLength in class CustomBar
protected boolean internalClicked(int valueIndex,
java.awt.Point point)
internalClicked in class CustomBarpublic void calcHorizMargins(Margins margins)
Series
calcHorizMargins in class Seriesmargins - Marginspublic void calcVerticalMargins(Margins margins)
Series
calcVerticalMargins in class Seriesmargins - Marginspublic void drawValue(int valueIndex)
drawValue in interface ISeriesdrawValue in class SeriesvalueIndex - int
protected void drawTickLine(int tickPos,
BarStyle aStyle)
drawTickLine in class CustomBar
public void drawBar(int barIndex,
int startPos,
int endPos)
barIndex - intstartPos - intendPos - intprotected boolean moreSameZOrder()
Series
moreSameZOrder in class Seriespublic int calcXPos(int valueIndex)
calcXPos in class SeriesvalueIndex - int
public int calcYPos(int valueIndex)
calcYPos in class SeriesvalueIndex - int
protected void drawMark(int valueIndex,
java.lang.String s,
SeriesMarksPosition p)
drawMark in class Seriesprotected boolean drawSeriesForward(int valueIndex)
drawSeriesForward in class Seriespublic int getOriginPos(int valueIndex)
valueIndex - int
public double getMaxXValue()
getMaxXValue in class Seriespublic double getMinXValue()
getMinXValue in class Seriespublic double getMaxYValue()
getMaxYValue in class Seriespublic double getMinYValue()
getMinYValue in class Series
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||