|
||||||||||
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.CustomPoint
com.steema.teechart.styles.Points
com.steema.teechart.styles.CustomBox
public class CustomBox
Title: CustomBox class
Description: CustomBox Series.
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 | |
---|---|
protected double |
dPosition
|
protected boolean |
iVertical
|
protected ChartPen |
linePen
|
protected boolean |
treatNans
|
protected TreatNullsStyle |
treatnulls
|
Fields inherited from class com.steema.teechart.styles.CustomPoint |
---|
iStacked, point |
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 | |
---|---|
CustomBox()
|
|
CustomBox(IBaseChart c)
|
Method Summary | |
---|---|
void |
add(double[] xValues,
double[] yValues,
boolean append)
|
int |
add(double x,
double y)
Adds a new point with specified x and y values. |
protected void |
addSampleValues(int numValues)
|
void |
assign(Series source)
Copies all properties from one Series component to another. |
protected double |
calcMinMaxValue(boolean isMin)
|
void |
doBeforeDrawValues()
|
protected boolean |
doNotPaintNull()
|
protected void |
draw()
|
protected void |
drawMark(int valueIndex,
java.lang.String s,
SeriesMarksPosition position)
|
void |
drawValue(int index)
Called internally. |
double |
getAdjacentPoint1()
Read from AdjacentPoint1 to get SampleValues lower adjacent point limit. |
double |
getAdjacentPoint3()
Read from AdjacentPoint3 to get SampleValues upper adjacent point. |
SeriesPointer |
getBox()
Controls the appearance of CustomBoxSeries box. |
SeriesPointer |
getExtrOut()
Controls the appearance of the extreme range of outer points. |
double |
getInnerFence1()
Read from InnerFence1 to get SampleValues lower inner fence. |
double |
getInnerFence3()
Read from InnerFence3 to get SampleValues upper inner fence. |
double |
getMedian()
Read from Median to get SampleValues median value. |
ChartPen |
getMedianPen()
Defines the Pen to draw the median line. |
SeriesPointer |
getMildOut()
Controls the appearance of the mid range of outer points. |
double |
getOuterFence1()
Read from OuterFence1 to get SampleValues lower outer fence. |
double |
getOuterFence3()
Read from OuterFence3 to get SampleValues upper outer fence. |
double |
getPosition()
Specifies the position of box series. |
double |
getQuartile1()
Read from Quartile1 to get SampleValues first quartile. |
double |
getQuartile3()
Read from Quartile3 to get SampleValues first quartile. |
ValueList |
getSampleValues()
Use SampleValues property to get access to the values of Series. |
boolean |
getTreatNaNAsNull()
|
TreatNullsStyle |
getTreatNulls()
Defines how null points are treated. |
boolean |
getUseCustomValues()
Set to true if you want to override internal algorithm to construct a box plot. |
double |
getWhiskerLength()
Defines the whisker length as a function of the inter-quartike range (IQR). |
ChartPen |
getWhiskerPen()
Defines the Pen to draw the whisker lines. |
protected boolean |
IgnoreNull()
|
void |
prepareForGallery(boolean isEnabled)
|
void |
reconstructFromData()
Reconstructs the box plot from series data. |
void |
setAdjacentPoint1(double value)
Read from AdjacentPoint1 to get SampleValues lower adjacent point limit. |
void |
setAdjacentPoint3(double value)
Read from AdjacentPoint3 to get SampleValues upper adjacent point. |
void |
setChart(IBaseChart c)
Chart associated with this object. |
void |
setInnerFence1(double value)
Read from InnerFence1 to get SampleValues lower inner fence. |
void |
setInnerFence3(double value)
Read from InnerFence3 to get SampleValues upper inner fence. |
void |
setMedian(double value)
Read from Median to get SampleValues median value. |
void |
setOuterFence1(double value)
Read from OuterFence1 to get SampleValues lower outer fence. |
void |
setOuterFence3(double value)
Read from OuterFence3 to get SampleValues upper outer fence. |
void |
setPosition(double value)
Specifies the position of box series. |
void |
setQuartile1(double value)
Read from Quartile1 to get SampleValues first quartile. |
void |
setQuartile3(double value)
Read from Quartile3 to get SampleValues first quartile. |
void |
setTreatNaNAsNull(boolean value)
|
void |
setTreatNulls(TreatNullsStyle value)
|
void |
setUseCustomValues(boolean value)
Set to true if you want to override internal algorithm to construct a box plot. |
void |
setWhiskerLength(double value)
Sets the whisker length as a function of the inter-quartike range (IQR). |
Methods inherited from class com.steema.teechart.styles.Points |
---|
canDoExtra, createSubGallery, getColor, getDescription, getLinePen, setColor, setColorEach, setSubGallery |
Methods inherited from class com.steema.teechart.styles.CustomPoint |
---|
addSeriesMouseListener, calcHorizMargins, calcVerticalMargins, calcXPos, calcYPos, calcZOrder, clicked, clickedPointer, drawLegendShape, drawPointer, getMaxXValue, getMaxYValue, getMinXValue, getMinYValue, getOriginPos, getPointer, getStacked, onGetPointerStyle, removePointerStyleResolver, removeSeriesMouseListener, sameClassOrigin, setPointerStyleResolver, setStacked |
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 |
Field Detail |
---|
protected double dPosition
protected boolean iVertical
protected ChartPen linePen
protected TreatNullsStyle treatnulls
protected boolean treatNans
Constructor Detail |
---|
public CustomBox()
public CustomBox(IBaseChart c)
Method Detail |
---|
public void assign(Series source)
Series
assign
in class CustomPoint
source
- Seriespublic double getWhiskerLength()
public void setWhiskerLength(double value)
value
- doublepublic SeriesPointer getBox()
public ValueList getSampleValues()
public double getPosition()
public void setPosition(double value)
value
- doublepublic ChartPen getWhiskerPen()
public ChartPen getMedianPen()
public void reconstructFromData()
public void doBeforeDrawValues()
doBeforeDrawValues
in class Series
public void drawValue(int index)
drawValue
in interface ISeries
drawValue
in class CustomPoint
index
- intprotected void addSampleValues(int numValues)
addSampleValues
in class Series
public void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Series
protected void drawMark(int valueIndex, java.lang.String s, SeriesMarksPosition position)
drawMark
in class CustomPoint
protected void draw()
draw
in class Series
public void setChart(IBaseChart c)
TeeBase
setChart
in interface ISeries
setChart
in class CustomPoint
c
- IBaseChartpublic double getAdjacentPoint1()
CustomBox
public void setAdjacentPoint1(double value)
value
- doublepublic double getAdjacentPoint3()
CustomBox
public void setAdjacentPoint3(double value)
value
- doubleCustomBox
public double getOuterFence3()
CustomBox
public void setOuterFence3(double value)
value
- doubleCustomBox
public double getOuterFence1()
CustomBox
public void setOuterFence1(double value)
value
- doubleCustomBox
public double getInnerFence1()
CustomBox
public void setInnerFence1(double value)
value
- doubleCustomBox
public double getInnerFence3()
CustomBox
public void setInnerFence3(double value)
value
- doubleCustomBox
public double getQuartile1()
CustomBox
public void setQuartile1(double value)
value
- doubleCustomBox
public double getQuartile3()
CustomBox
public void setQuartile3(double value)
value
- doubleCustomBox
public double getMedian()
CustomBox
public void setMedian(double value)
value
- doubleCustomBox
public boolean getUseCustomValues()
public void setUseCustomValues(boolean value)
value
- booleanpublic SeriesPointer getMildOut()
public SeriesPointer getExtrOut()
protected double calcMinMaxValue(boolean isMin)
public TreatNullsStyle getTreatNulls()
public void setTreatNulls(TreatNullsStyle value)
public void add(double[] xValues, double[] yValues, boolean append)
add
in class Series
public int add(double x, double y)
Series
add
in interface ISeries
add
in class Series
x
- doubley
- double
protected boolean IgnoreNull()
protected boolean doNotPaintNull()
public boolean getTreatNaNAsNull()
public void setTreatNaNAsNull(boolean value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |