|
||||||||||
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.Bubble
public class Bubble
Title: class
Description: Bubble Series.
Example:
bubbleSeries = new com.steema.teechart.styles.Bubble(myChart.getChart()); bubbleSeries.getXValues().setDateTime(true); bubbleSeries.getRadiusValues().setDateTime(false); bubbleSeries.getRadiusValues().setName("Radius"); bubbleSeries.getRadiusValues().setOrder(ValueListOrder.NONE); bubbleSeries.setHorizontalAxis(HorizontalAxis.TOP); bubbleSeries.getMarks().setArrowLength(0); bubbleSeries.getMarks().setClip(true); bubbleSeries.getMarks().getFont().setColor(Color.WHITE); bubbleSeries.getMarks().getFont().setSize(16); bubbleSeries.getMarks().getFont().setItalic(true); bubbleSeries.getMarks().getFrame().setVisible(false); bubbleSeries.getMarks().setTransparent(true); bubbleSeries.getMarks().setVisible(false); bubbleSeries.getPointer().setHorizSize(14); bubbleSeries.getPointer().setVertSize(14); bubbleSeries.getPointer().setInflateMargins(false); bubbleSeries.setVisible(true);
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 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 | |
---|---|
Bubble()
|
|
Bubble(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. |
int |
add(double x,
double y,
double radius)
Adds a new Bubble point to the Series Points List. |
int |
add(double x,
double y,
double radius,
Color color)
Adds a new Bubble point to the Series Points List and color. |
int |
add(double x,
double y,
double radius,
java.lang.String text)
Adds a new Bubble point to the Series Points List and label. |
int |
add(double x,
double y,
double radius,
java.lang.String text,
Color color)
Adds a new Bubble point to the Series Points List, label and color. |
protected void |
addSampleValues(int numValues)
|
protected double |
calcMinMaxValue(boolean isMin)
|
boolean |
clickedPointer(int valueIndex,
int tmpX,
int tmpY,
int x,
int y)
For internal use |
protected boolean |
doNotPaintNull()
|
protected void |
drawLegendShape(IGraphics3D g,
int valueIndex,
Rectangle r)
|
void |
drawValue(int valueIndex)
Called internally. |
boolean |
getColorEach()
Controls which color will be drawn on the bubbles. |
java.lang.String |
getDescription()
Gets descriptive text. |
double |
getMaxYValue()
The Maximum Value of the Series Y Values List. |
double |
getMaxZValue()
The maximum Z value. |
double |
getMinYValue()
The Minimum Value of the Series Y Values List. |
double |
getMinZValue()
The minimum Z value. |
ValueList |
getRadiusValues()
A TList object that stores each Bubble point Radius value. |
boolean |
getSquared()
Determines how the Bubble size is calculated. |
boolean |
getTreatNaNAsNull()
|
TreatNullsStyle |
getTreatNulls()
Defines how null points are treated. |
protected boolean |
IgnoreNull()
|
boolean |
isValidSourceOf(ISeries value)
It's used to validate the DataSource property both at design and run-time. |
protected int |
numSampleValues()
|
void |
setRadiusValues(ValueList value)
A TList object that stores each Bubble point Radius value. |
void |
setSquared(boolean value)
Determines how the Bubble size is calculated. |
void |
setTreatNaNAsNull(boolean value)
|
void |
setTreatNulls(TreatNullsStyle value)
|
Methods inherited from class com.steema.teechart.styles.Points |
---|
canDoExtra, createSubGallery, getColor, getLinePen, setColor, setColorEach, setSubGallery |
Methods inherited from class com.steema.teechart.styles.CustomPoint |
---|
addSeriesMouseListener, assign, calcHorizMargins, calcVerticalMargins, calcXPos, calcYPos, calcZOrder, clicked, drawMark, drawPointer, getMaxXValue, getMinXValue, getOriginPos, getPointer, getStacked, onGetPointerStyle, removePointerStyleResolver, removeSeriesMouseListener, sameClassOrigin, setChart, 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 ChartPen linePen
protected TreatNullsStyle treatnulls
protected boolean treatNans
Constructor Detail |
---|
public Bubble()
public Bubble(IBaseChart c)
Method Detail |
---|
public boolean clickedPointer(int valueIndex, int tmpX, int tmpY, int x, int y)
CustomPoint
clickedPointer
in class CustomPoint
valueIndex
- inttmpX
- inttmpY
- intx
- inty
- int
public boolean getSquared()
public void setSquared(boolean value)
value
- booleanprotected int numSampleValues()
numSampleValues
in class Series
protected void addSampleValues(int numValues)
addSampleValues
in class Series
protected void drawLegendShape(IGraphics3D g, int valueIndex, Rectangle r)
drawLegendShape
in class CustomPoint
public void drawValue(int valueIndex)
drawValue
in interface ISeries
drawValue
in class CustomPoint
valueIndex
- intpublic int add(double x, double y, double radius, Color color)
x
- double x coordinate of bubble point.y
- double y coordinate of bubble point.radius
- doublecolor
- Color
public int add(double x, double y, double radius)
x
- double x coordinate of bubble point.y
- double y coordinate of bubble point.radius
- double
public int add(double x, double y, double radius, java.lang.String text)
x
- double x coordinate of bubble point.y
- double y coordinate of bubble point.radius
- doubletext
- String
public int add(double x, double y, double radius, java.lang.String text, Color color)
x
- double x coordinate of bubble point.y
- double y coordinate of bubble point.radius
- doubletext
- Stringcolor
- Color
public boolean isValidSourceOf(ISeries value)
value
- ISeries
public double getMaxYValue()
getMaxYValue
in class CustomPoint
public double getMinYValue()
getMinYValue
in class CustomPoint
public double getMaxZValue()
getMaxZValue
in interface ISeries
getMaxZValue
in class Series
public double getMinZValue()
getMinZValue
in interface ISeries
getMinZValue
in class Series
public ValueList getRadiusValues()
public void setRadiusValues(ValueList value)
value
- ValueListpublic boolean getColorEach()
getColorEach
in interface ISeries
getColorEach
in class Series
public java.lang.String getDescription()
getDescription
in class Points
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 |