|
||||||||||
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.HighLow
public class HighLow
Title: Highlow class
Description: HighLow Series.
Example:
series = new HighLow(myChart.getChart()); series.fillSampleValues(20); series.setColor(Color.RED); series.getHighBrush().setColor(Color.LIME); series.getHighPen().setColor(Color.BLUE); series.getHighPen().setWidth(2); series.getLowBrush().setColor(Color.WHITE); series.getPen().setColor(Color.BLUE); series.setCursor(new Cursor(Cursor.CROSSHAIR_CURSOR)); highFillButton = new JButton("High Fill..."); lowFillButton = new JButton("Low Fill..."); highButton = new ButtonPen(series.getHighPen(), "High..."); lowButton = new ButtonPen(series.getLowPen(), "Low..."); linesButton = new ButtonPen(series.getPen(), "Lines...");
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.Series |
---|
Series.MarkTextResolver |
Field Summary |
---|
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 | |
---|---|
HighLow()
|
|
HighLow(IBaseChart c)
|
Method Summary | |
---|---|
int |
Add(double x,
double h,
double l)
Adds a new High and Low value to a HighLow series. |
int |
Add(double x,
double h,
double l,
Color color)
Adds a new High and Low value to a HighLow series. |
int |
Add(double x,
double h,
double l,
java.lang.String text)
Adds a new High and Low value to a HighLow series and label. |
int |
Add(double x,
double h,
double l,
java.lang.String text,
Color color)
Adds a new High and Low value to a HighLow series with label and color. |
protected void |
addSampleValues(int numValues)
|
void |
createSubGallery(Gallery addSubChart)
|
void |
drawValue(int valueIndex)
Called internally. |
java.lang.String |
getDescription()
Gets descriptive text. |
ChartBrush |
getHighBrush()
Defines the Brush for the High value. |
ChartPen |
getHighPen()
Defines the Pen for the High value. |
ValueList |
getHighValues()
|
ChartBrush |
getLowBrush()
Defines the Brush for the Low value. |
ChartPen |
getLowPen()
Defines the Pen for the Low value. |
ValueList |
getLowValues()
|
double |
getMaxYValue()
The Maximum Value of the Series Y Values List. |
double |
getMinYValue()
The Minimum Value of the Series Y Values List. |
ChartPen |
getPen()
Sets the Pen to draw the vertical dividing lines of the HighLow series. |
boolean |
isValidSourceOf(ISeries value)
True if Series source is HighLow. |
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setSubGallery(int index)
Creates and prepares the index'th Series style to show at sub-gallery dialog. |
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 HighLow()
public HighLow(IBaseChart c)
Method Detail |
---|
public void setChart(IBaseChart c)
TeeBase
setChart
in interface ISeries
setChart
in class Series
c
- IBaseChartpublic ChartPen getPen()
public ChartPen getHighPen()
public ChartPen getLowPen()
public ChartBrush getLowBrush()
public ChartBrush getHighBrush()
public ValueList getHighValues()
public ValueList getLowValues()
protected void addSampleValues(int numValues)
addSampleValues
in class Series
public int Add(double x, double h, double l)
x
- doubleh
- doublel
- double
public int Add(double x, double h, double l, Color color)
x
- doubleh
- doublel
- doublecolor
- Color
public int Add(double x, double h, double l, java.lang.String text)
x
- doubleh
- doublel
- doubletext
- String
public int Add(double x, double h, double l, java.lang.String text, Color color)
x
- doubleh
- doublel
- doubletext
- Stringcolor
- Color
public void createSubGallery(Gallery addSubChart)
createSubGallery
in class Series
public void setSubGallery(int index)
Series
setSubGallery
in interface ISeries
setSubGallery
in class Series
index
- intpublic void drawValue(int valueIndex)
drawValue
in interface ISeries
drawValue
in class Series
valueIndex
- intpublic boolean isValidSourceOf(ISeries value)
value
- ISeries
public double getMaxYValue()
getMaxYValue
in class Series
public double getMinYValue()
getMinYValue
in class Series
public java.lang.String getDescription()
getDescription
in class Series
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |