public class BubbleCloud extends Custom3DPalette
Title: BubbleCloud class
Description: The BubbleCloud Series plots data relatively, displaying bubbles of diminishing size to represent different Series values.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Custom3DPalette.ColorResolver
Series.MarkTextResolver
bUseColorRange, bUsePalette, iPaletteSteps, sameBrush
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 |
---|
BubbleCloud()
BubbleCloud Constructor
|
BubbleCloud(IBaseChart c)
BubbleCloud Constructor
|
Modifier and Type | Method and Description |
---|---|
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. |
int |
calcXPos(int valueIndex)
The pixel Screen Horizontal coordinate of the ValueIndex Series value.
This coordinate is calculated using the Series associated Horizontal Axis. |
int |
calcYPos(int valueIndex)
The pixel Screen Vertical coordinate of the ValueIndex Series value.
This coordinate is calculated using the Series associated Vertical Axis. |
int |
clicked(int x,
int y)
Returns the ValueIndex of the "clicked" point in the Series.
Clicked means the X and Y coordinates are in the point screen region bounds. |
protected void |
doBeforeDrawValues() |
protected void |
drawMark(int valueIndex,
java.lang.String st,
SeriesMarksPosition aPosition) |
void |
drawValue(int valueIndex)
Called internally.
|
java.lang.String |
getDescription()
Gets descriptive text.
|
int |
getRotation()
The angle rotates the Series on a vertical plane.
|
int |
getSeparation()
Defines the separation according to
getSeparationUnits() .Default value 0. |
PositionUnits |
getSeparationUnits()
Define the unit used to set the Separation.
|
java.lang.Double |
getSizeRatio()
Defines the ratio size increase between consecutive Bubbles.
|
void |
prepareForGallery(boolean isEnabled) |
void |
setRotation(int value)
The angle rotates the Series on a vertical plane.
|
void |
setSeparation(int value)
Defines the separation according to
getSeparationUnits() . |
void |
setSeparationUnits(PositionUnits value)
Define the unit used to set the Separation.
|
void |
setSizeRatio(java.lang.Double value)
Defines the ratio size increase between consecutive Bubbles.
|
addPalette, calcColorRange, clearPalette, countLegendItems, createDefaultPalette, createSubGallery, doBeforeDrawChart, drawLegendShape, galleryChanged3D, getBlueFactor, getBrush, getCountLegendItems, getEndColor, getGreenFactor, getLegendString, getMidColor, getPalette, getPaletteMin, getPaletteRange, getPaletteStep, getPaletteSteps, getPaletteStyle, getPen, getRedFactor, getStartColor, getUseColorRange, getUsePalette, getUsePaletteMin, getValueColor, getValueColorValue, legendItemColor, readResolve, removeColorResolver, setBlueFactor, setChart, setColorResolver, setEndColor, setGreenFactor, setMidColor, setPaletteMin, setPaletteRange, setPaletteStep, setPaletteSteps, setPaletteStyle, setRedFactor, setSameBrush, setStartColor, setSubGallery, setUseColorRange, setUsePalette, setUsePaletteMin
add, add, add, add, add, add, add, add, add, calcZOrder, calcZPos, getMaxZValue, getMinZValue, getPoint, getTimesZOrder, getZValues, isValidSourceOf, prepareLegendCanvas, setTimesZOrder, valueListOfAxis
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, calcXPosValue, calcXSizeValue, calcYPosValue, calcYSizeValue, canAddRandomPoints, changeType, checkDataSource, checkMouse, checkOrder, checkOtherSeries, clear, clearLists, clicked, clone, cloneSeries, convertArray, createNewSeries, createNewSeries, createNewSeries, dataSourceArray, delete, delete, delete, dispose, doAfterDrawValues, doClick, doClickPointer, doDoubleClick, draw, drawHiddenValue, drawLegend, drawLegend, drawMarks, drawMarksSeries, drawSeries, drawSeriesForward, drawValuesForward, endUpdate, fillSampleValues, fillSampleValues, fireSeriesMouseEvent, fireSeriesPaint, firstDisplayed, getActive, getAllowSinglePoint, getBitmapEditor, getColor, getColorEach, getColorMember, getColors, getCount, getCursor, getCustomHorizAxis, getCustomVertAxis, getDataSource, getDefaultColor, getDefaultNullValue, getDepth, getEndZ, getFields, getFirstVisible, getFunction, getHasZValues, getHorizAxis, getHorizontalAxis, getLabelMember, getLabels, getLastVisible, getMandatory, getMandatoryAxis, getMarks, getMarkText, getMarkValue, getMaxXValue, getMaxYValue, getMiddleZ, getMinXValue, getMinYValue, getNotMandatory, getNumGallerySeries, getNumSampleValues, getOriginValue, getPercentFormat, getSeriesColor, getShowInLegend, getStartZ, getTitle, getUseAxis, getValueFormat, getValueIndexSwapper, getValueList, getValueList, getValueMarkText, getValuesLists, getVertAxis, getVerticalAxis, getVisible, getXValues, getYMandatory, getYValueList, getYValues, getZOrder, hasClickEvents, hasColors, hasDataSource, hasLabels, hasListenersOf, hasNoMandatoryValues, isNull, isPointInChartRect, isValidSeriesSource, lastDisplayed, lastVisibleMark, legendToValueIndex, maxMarkWidth, moreSameZOrder, mouseEvent, newFromType, numSampleValues, onDisposing, randomBounds, 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, valuesListAdd, xScreenToValue, yScreenToValue
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChart, invalidate
public BubbleCloud()
public BubbleCloud(IBaseChart c)
c
- IBaseChartpublic void assign(Series source)
Series
public void prepareForGallery(boolean isEnabled)
prepareForGallery
in class Custom3DPalette
isEnabled
- booleanprotected void addSampleValues(int numValues)
addSampleValues
in class Series
numValues
- intpublic java.lang.Double getSizeRatio()
public void setSizeRatio(java.lang.Double value)
value
- Doublepublic int getRotation()
public void setRotation(int value)
value
- intpublic int getSeparation()
getSeparationUnits()
.public void setSeparation(int value)
getSeparationUnits()
.
value
- intpublic PositionUnits getSeparationUnits()
getSeparation()
. public void setSeparationUnits(PositionUnits value)
getSeparation()
.value
- PositionUnitsprotected void doBeforeDrawValues()
doBeforeDrawValues
in class Series
public int calcXPos(int valueIndex)
Series
public int calcYPos(int valueIndex)
Series
protected void drawMark(int valueIndex, java.lang.String st, SeriesMarksPosition aPosition)
public void drawValue(int valueIndex)
Series
public int clicked(int x, int y)
Series
public java.lang.String getDescription()
getDescription
in class Series