|
||||||||||
| 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-2008 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 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, InternalUse, 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 |
| Constructor Summary | |
|---|---|
Bubble()
|
|
Bubble(IBaseChart c)
|
|
| Method Summary | |
|---|---|
int |
add(double x,
double y,
double radius)
Adds a new Bubble point to the Series Points List. The Bubble point is assigned to be at AX, AY coordinates and has ARadius parameter. |
int |
add(double x,
double y,
double radius,
Color color)
Adds a new Bubble point to the Series Points List and color. The Bubble point is assigned to be at AX, AY coordinates and have ARadius and Color parameters. |
int |
add(double x,
double y,
double radius,
java.lang.String text)
Adds a new Bubble point to the Series Points List and label. The Bubble point is assigned to be at AX, AY coordinates and have ARadius and Label parameters. |
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. The Bubble point is assigned to be at AX, AY coordinates and have ARadius, Label and Color parameters. |
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 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. If false, all points will be drawn using Series Series.Color. |
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. You can change Radius values by using the RadiusValues.Value[] array of doubles method |
boolean |
getSquared()
Determines how the Bubble size is calculated. By default, the horizontal and vertical Bubble sizes are equal to the radius of each bubble. |
TreatNullsStyle |
getTreatNulls()
Defines how null points are treated. |
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. Default value: true |
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, 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
| 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 CustomPointvalueIndex - inttmpX - inttmpY - intx - inty - int
public boolean getSquared()
public void setSquared(boolean value)
value - booleanprotected int numSampleValues()
numSampleValues in class Seriesprotected void addSampleValues(int numValues)
addSampleValues in class Series
protected void drawLegendShape(IGraphics3D g,
int valueIndex,
Rectangle r)
drawLegendShape in class CustomPointpublic void drawValue(int valueIndex)
drawValue in interface ISeriesdrawValue in class CustomPointvalueIndex - int
public 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 CustomPointpublic double getMinYValue()
getMinYValue in class CustomPointpublic double getMaxZValue()
getMaxZValue in interface ISeriesgetMaxZValue in class Seriespublic double getMinZValue()
getMinZValue in interface ISeriesgetMinZValue in class Seriespublic ValueList getRadiusValues()
public void setRadiusValues(ValueList value)
value - ValueListpublic boolean getColorEach()
getColorEach in interface ISeriesgetColorEach in class Seriespublic java.lang.String getDescription()
getDescription in class Pointsprotected double calcMinMaxValue(boolean isMin)
public TreatNullsStyle getTreatNulls()
public void setTreatNulls(TreatNullsStyle value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||