Class FastBubbleRenderableSeries
Defines a Bubble-chart renderable series, supporting rendering of bubbles using Z data, positioned using X-Y data. Bubbles are defined using the FastBubbleRenderableSeries#getBubbleBrushStyle() property, but rendered as a soft-edged circle which fades to transparent in the centre.
Inheritance
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class FastBubbleRenderableSeries extends renderableSeries.XyzRenderableSeriesBase
Constructors
FastBubbleRenderableSeries()
Creates a new instance of FastBubbleRenderableSeries class
Declaration
public FastBubbleRenderableSeries()
FastBubbleRenderableSeries(renderableSeriesBubbleRenderPassData currentRenderPassData, renderableSeries.hitTest.IHitProvider hitProvider, renderableSeries.hitTest.INearestPointProvider nearestPointProvider)
Creates a new instance of FastBubbleRenderableSeries class
Declaration
protected FastBubbleRenderableSeries(renderableSeriesBubbleRenderPassData currentRenderPassData, renderableSeries.hitTest.IHitProvider hitProvider, renderableSeries.hitTest.INearestPointProvider nearestPointProvider)
Parameters
Type | Name | Description |
---|---|---|
renderableSeriesBubbleRenderPassData | currentRenderPassData | The render pass data instance |
renderableSeries.hitTest.IHitProvider | hitProvider | The hit provider instance |
renderableSeries.hitTest.INearestPointProvider | nearestPointProvider | The nearest point provider instance |
Fields
MAX_BUBBLE_SIZE_IN_PIXELS
Declaration
public static final int MAX_BUBBLE_SIZE_IN_PIXELS
Field Value
Type | Description |
---|---|
int |
autoZRangeProperty
Declaration
protected final SmartPropertyBoolean autoZRangeProperty
Field Value
Type | Description |
---|---|
SmartPropertyBoolean |
bubbleBrushStyleProperty
Declaration
protected final SmartProperty<BrushStyle> bubbleBrushStyleProperty
Field Value
Type | Description |
---|---|
SmartProperty<BrushStyle> |
zScaleFactorProperty
Declaration
protected final SmartPropertyDouble zScaleFactorProperty
Field Value
Type | Description |
---|---|
SmartPropertyDouble |
Methods
getAutoZRange()
Gets whether Z-range should be automatically scaled. If True, then depending on the XYZ points in the viewport, the size of bubbles will be scaled to fit. Else, the size of bubbles will be absolute
Declaration
public final boolean getAutoZRange()
Returns
Type | Description |
---|---|
boolean | The |
getBubbleBrushStyle()
Gets the style which is used to fill bubbles
Declaration
public final BrushStyle getBubbleBrushStyle()
Returns
Type | Description |
---|---|
BrushStyle | The current |
getSeriesColor()
Gets the color which represents this IRenderableSeries instance.
Declaration
public int getSeriesColor()
Returns
Type | Description |
---|---|
int |
Overrides
getZScaleFactor()
Gets a Z-scaling factor, equal to Pixels divided by Z-Unit
Declaration
public final double getZScaleFactor()
Returns
Type | Description |
---|---|
double | The current {zScaleFactor} value |
internalDraw(IRenderContext2D renderContext, IAssetManager2D assetManager, renderableSeriesISeriesRenderPassData renderPassData)
Draws the series using the IRenderContext2D, the IAssetManager2D and the ISeriesRenderPassData passed in
Declaration
protected void internalDraw(IRenderContext2D renderContext, IAssetManager2D assetManager, renderableSeriesISeriesRenderPassData renderPassData)
Parameters
Type | Name | Description |
---|---|---|
IRenderContext2D | renderContext | |
IAssetManager2D | assetManager | |
renderableSeriesISeriesRenderPassData | renderPassData |
Overrides
internalUpdateRenderPassData(renderableSeriesISeriesRenderPassData renderPassDataToUpdate, dataSeries.IDataSeries<?,?> dataSeries, ResamplingMode resamplingMode, IPointResamplerFactory factory)
Updates the current render pass data using the data series, resampling factory passed in
Declaration
protected void internalUpdateRenderPassData(renderableSeriesISeriesRenderPassData renderPassDataToUpdate, dataSeries.IDataSeries<?,?> dataSeries, ResamplingMode resamplingMode, IPointResamplerFactory factory)
Parameters
Type | Name | Description |
---|---|---|
renderableSeriesISeriesRenderPassData | renderPassDataToUpdate | |
IDataSeries<?,?> | dataSeries | |
ResamplingMode | resamplingMode | |
IPointResamplerFactory | factory |
Overrides
Exceptions
Type | Condition |
---|---|
Exception |
setAutoZRange(boolean autoZRange)
Sets whether Z-range should be automatically scaled. If True, then depending on the XYZ points in the viewport, the size of bubbles will be scaled to fit. Else, the size of bubbles will be absolute
Declaration
public final void setAutoZRange(boolean autoZRange)
Parameters
Type | Name | Description |
---|---|---|
boolean | autoZRange | The new |
setBubbleBrushStyle(BrushStyle bubbleBrushStyle)
Sets the style which is used to fill bubbles
Declaration
public final void setBubbleBrushStyle(BrushStyle bubbleBrushStyle)
Parameters
Type | Name | Description |
---|---|---|
BrushStyle | bubbleBrushStyle | The new |
setZScaleFactor(double zScaleFactor)
Sets a Z-scaling factor, equal to Pixels divided by Z-Unit
Declaration
public final void setZScaleFactor(double zScaleFactor)
Parameters
Type | Name | Description |
---|---|---|
double | zScaleFactor | The new {zScaleFactor} value |