|
||||||||||
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.HorizBar
public class HorizBar
Title: HorizBar class
Description: Horizontal Bar Series.
Example:
barSeries = new HorizBar(myChart.getChart()); barSeries.setBarStyle(BarStyle.RECTANGLE); barSeries.setMultiBar(MultiBars.NONE); barSeries.fillSampleValues(3);
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 | |
---|---|
HorizBar()
|
|
HorizBar(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 pixel Screen Horizontal coordinate of the ValueIndex Series value. |
int |
calcYPos(int valueIndex)
The vertical Bar position is the "real" Y pos plus the Barwidth by our BarSeries order. |
protected void |
drawMark(int valueIndex,
java.lang.String s,
SeriesMarksPosition position)
|
protected boolean |
drawSeriesForward(int valueIndex)
|
protected void |
drawTickLine(int tickPos,
BarStyle aStyle)
|
void |
drawValue(int valueIndex)
Called internally. |
int |
getBarHeightPercent()
Defines the percent of bar Height, from 0 to 100. |
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 Lists. |
protected int |
getOriginPos(int valueIndex)
|
protected int |
internalCalcMarkLength(int valueIndex)
|
protected boolean |
internalClicked(int valueIndex,
Point point)
|
void |
setBarHeightPercent(int value)
Defines the percent of bar Height, from 0 to 100. |
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 HorizBar()
public HorizBar(IBaseChart c)
Method Detail |
---|
public java.lang.String getDescription()
getDescription
in class Series
public int getBarHeightPercent()
public void setBarHeightPercent(int value)
value
- intprotected int internalCalcMarkLength(int valueIndex)
internalCalcMarkLength
in class CustomBar
protected boolean internalClicked(int valueIndex, Point point)
internalClicked
in class CustomBar
public void calcHorizMargins(Margins margins)
Series
calcHorizMargins
in class Series
margins
- Marginspublic void calcVerticalMargins(Margins margins)
Series
calcVerticalMargins
in class Series
margins
- Marginspublic void drawValue(int valueIndex)
drawValue
in interface ISeries
drawValue
in class Series
valueIndex
- intprotected void drawMark(int valueIndex, java.lang.String s, SeriesMarksPosition position)
drawMark
in class Series
public int calcXPos(int valueIndex)
calcXPos
in class Series
valueIndex
- int
public int calcYPos(int valueIndex)
calcYPos
in class Series
valueIndex
- int
protected void drawTickLine(int tickPos, BarStyle aStyle)
drawTickLine
in class CustomBar
protected boolean drawSeriesForward(int valueIndex)
drawSeriesForward
in class Series
protected int getOriginPos(int valueIndex)
public double getMaxXValue()
getMaxXValue
in class Series
public double getMinXValue()
getMinXValue
in class Series
public double getMinYValue()
getMinYValue
in class Series
public double getMaxYValue()
getMaxYValue
in class Series
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |