public class HighLow extends Series
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-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Series.MarkTextResolver
AUTODEPTH, AUTOZORDER, bActive, bBrush, bColorEach, calcVisiblePoints, colorMember, customMarkText, drawBetweenPoints, endZ, firstVisible, hasZValues, iColors, iNumSampleValues, iZOrder, labelMember, lastVisible, listenerList, mandatory, manualData, marks, middleZ, notMandatory, oldDataSource, percentDecimal, percentFormat, sLabels, startZ, useAxis, useSeriesColor, valueFormat, vxValues, vyValues, yMandatory
chart, InternalUse
Constructor and Description |
---|
HighLow() |
HighLow(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
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 |
assign(Series source)
Copies all properties from one Series component to another.
Only the common properties shared by both source and destination Series are copied. |
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.
Returns false if the Value parameter is the same as Self. |
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.
|
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addChartValue, added, addedValue, addNull, addNullXY, addSeriesMouseListener, addSeriesPaintListener, addValues, assignDispose, assignValues, associatedToAxis, beginUpdate, calcFirstLastVisibleIndex, calcHorizMargins, calcPercentSt, calcPosValue, calculateMarkPosition, calcVerticalMargins, calcXPos, calcXPosValue, calcXSizeValue, calcYPos, calcYPosValue, calcYSizeValue, calcZOrder, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clearLists, clicked, clicked, clone, cloneSeries, convertArray, countLegendItems, createNewSeries, createNewSeries, createNewSeries, dataSourceArray, delete, delete, delete, dispose, doAfterDrawValues, doBeforeDrawChart, doBeforeDrawValues, doClick, doClickPointer, doDoubleClick, draw, drawHiddenValue, drawLegend, drawLegend, drawLegendShape, drawMark, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, galleryChanged3D, getActive, getAllowSinglePoint, getBitmapEditor, getBrush, getColor, getColorEach, getColorMember, getColors, getCount, getCountLegendItems, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDefaultColor, getDefaultNullValue, getDepth, getEndZ, getFields, getFirstVisible, getFunction, getHasZValues, getHorizAxis, getHorizontalAxis, getLabelMember, getLabels, getLastVisible, getLegendString, getMandatory, getMandatoryAxis, getMarks, getMarkText, getMarkValue, getMaxXValue, getMaxZValue, getMiddleZ, getMinXValue, getMinZValue, getNotMandatory, getNumGallerySeries, getNumSampleValues, getOriginValue, getPercentFormat, getPoint, getSeriesColor, getShowInLegend, getStartZ, getTitle, getUseAxis, getValueColor, getValueFormat, getValueIndexSwapper, getValueList, getValueList, getValueMarkText, getValuesLists, getVertAxis, getVerticalAxis, getVisible, getXValues, getYMandatory, getYValueList, getYValues, getZOrder, hasClickEvents, hasColors, hasDataSource, hasLabels, hasListenersOf, hasNoMandatoryValues, isNull, isPointInChartRect, isValidSeriesSource, isValidSourceOf, lastDisplayed, lastVisibleMark, legendItemColor, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, numSampleValues, onDisposing, prepareForGallery, prepareLegendCanvas, randomBounds, readResolve, recalcGetAxis, refreshSeries, removeMarkTextResolver, removeSeriesMouseListener, removeSeriesPaintListener, repaint, sameClass, setActive, setColor, setColorEach, setColorMember, setColors, setCursor, setCustomHorizAxis, setCustomHorizAxis, setCustomVertAxis, setCustomVertAxis, setDataSource, setDefaultNullValue, setDepth, setEndZ, setFunction, setHorizontal, setHorizontalAxis, setLabelMember, setLabels, setMarks, setMarkTextResolver, setMiddleZ, setNull, setNull, setPercentFormat, setSeriesColor, setShowInLegend, setStartZ, setTitle, setValueFormat, setValueList, setVerticalAxis, setVisible, setXValues, setYValues, setZOrder, setZPositions, sortByLabels, sortByLabels, sortDrawSeries, swapValueIndex, titleOrName, toString, valueListOfAxis, valuesListAdd, xScreenToValue, yScreenToValue
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChart, invalidate
public HighLow()
public HighLow(IBaseChart c)
public void setChart(IBaseChart c)
TeeBase
public void assign(Series source)
Series
public 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
- doublepublic int Add(double x, double h, double l, Color color)
x
- doubleh
- doublel
- doublecolor
- Colorpublic int Add(double x, double h, double l, java.lang.String text)
x
- doubleh
- doublel
- doubletext
- Stringpublic int Add(double x, double h, double l, java.lang.String text, Color color)
x
- doubleh
- doublel
- doubletext
- Stringcolor
- Colorpublic 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)
public boolean isValidSourceOf(ISeries value)
value
- ISeriespublic double getMaxYValue()
getMaxYValue
in class Series
public double getMinYValue()
getMinYValue
in class Series
public java.lang.String getDescription()
getDescription
in class Series