public class FastUniformHeatmapRenderableSeries extends BaseRenderableSeries
Modifier and Type | Field and Description |
---|---|
protected com.scichart.core.framework.SmartProperty<com.scichart.drawing.common.FontStyle> |
cellTextStyleProperty |
protected com.scichart.core.framework.SmartProperty<ColorMap> |
colorMapProperty |
protected com.scichart.core.framework.SmartPropertyBoolean |
drawTextInCellProperty |
protected com.scichart.core.framework.SmartPropertyDouble |
maximumProperty |
protected com.scichart.core.framework.SmartPropertyDouble |
minimumProperty |
clipToBoundsProperty, drawNaNAsProperty, resamplingModeProperty, strokeStyleProperty, TAG, xAxisIdProperty, yAxisIdProperty, zeroLineYProperty
invalidateElementCallback, isSelectedProperty, isVisibleProperty, opacityProperty, services
Modifier | Constructor and Description |
---|---|
|
FastUniformHeatmapRenderableSeries()
Creates a new instance of
FastUniformHeatmapRenderableSeries class |
protected |
FastUniformHeatmapRenderableSeries(UniformHeatmapRenderPassData currentRenderPassData,
IHitProvider hitProvider,
INearestPointProvider nearestPointProvider)
Creates a new instance of
FastUniformHeatmapRenderableSeries class |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
formatCellToString(double cellValue)
Gets a string with formatted value for rendering inside cell if
getDrawTextInCell() is true |
com.scichart.drawing.common.FontStyle |
getCellTextStyle()
Gets the
FontStyle for heat map cells |
ColorMap |
getColorMap()
Gets the
ColorMap associated with this FastUniformHeatmapRenderableSeries |
boolean |
getDrawTextInCell()
Gets the value indicating whether this
FastUniformHeatmapRenderableSeries should draw text in heat map cells |
double |
getMaximum()
Gets the maximum value for this
FastUniformHeatmapRenderableSeries |
double |
getMinimum()
Gets the minimum value for this
FastUniformHeatmapRenderableSeries |
protected void |
internalDraw(com.scichart.drawing.common.IRenderContext2D renderContext,
com.scichart.drawing.common.IAssetManager2D assetManager,
ISeriesRenderPassData renderPassData)
Draws the series using the
IRenderContext2D , the IAssetManager2D and the ISeriesRenderPassData passed in |
protected void |
internalUpdateRenderPassData(ISeriesRenderPassData renderPassDataToUpdate,
IDataSeries<?,?> dataSeries,
com.scichart.data.numerics.ResamplingMode resamplingMode,
com.scichart.data.numerics.pointresamplers.IPointResamplerFactory factory)
Updates the current render pass data using the data series, resampling factory passed in
|
protected boolean |
isOfValidType(IDataSeries dataSeries)
Checks whether the data series instance is valid for this series
|
void |
setCellTextStyle(com.scichart.drawing.common.FontStyle cellTextStyle)
Sets the
FontStyle for heat map cells |
void |
setColorMap(ColorMap colorMap)
Sets the
ColorMap associated with this FastUniformHeatmapRenderableSeries |
void |
setDrawTextInCell(boolean drawTextInCell)
Sets the value indicating whether this
FastUniformHeatmapRenderableSeries should draw text in heat map cells |
void |
setMaximum(double maximum)
Sets the maximum value for this
FastUniformHeatmapRenderableSeries |
void |
setMinimum(double minimum)
Sets the minimum value for this
FastUniformHeatmapRenderableSeries |
applyThemeProvider, attachTo, detach, disposeCachedData, drawPointMarkers, getClipToBounds, getContext, getCurrentRenderPassData, getDataSeries, getDataSeriesLock, getDrawNaNAs, getPaletteProvider, getParentSurface, getPointMarker, getRenderPassDataLock, getRenderPassDataTransformation, getResamplingMode, getSeriesColor, getSeriesInfoProvider, getStrokeStyle, getXAxis, getXAxisId, getXRange, getYAxis, getYAxisId, getYRange, getYZeroCoord, getZeroLineY, hasDataSeries, hitTest, hitTest, internalUpdate, invalidateElement, isUpdateOfRenderPassDataRequired, isValidForDrawing, isValidForUpdate, onDataSeriesChanged, onDraw, onRenderSurfaceChanged, onStrokeStyleChanged, setClipRect, setClipToBounds, setDataSeries, setDrawNaNAs, setPaletteProvider, setPointMarker, setRenderPassDataTransformation, setResamplingMode, setSeriesInfoProvider, setStrokeStyle, setXAxisId, setYAxisId, setZeroLineY, update, updateRenderPassData, verticalSliceHitTest
addIsSelectedChangeListener, addIsVisibleChangeListener, decrementSuspend, getIsSelected, getIsSuspended, getIsVisible, getOpacity, getSelectedSeriesStyle, getServices, getUpdateSuspenderCount, isAttached, removeIsSelectedChangeListener, removeIsVisibleChangeListener, resumeUpdates, setIsSelected, setIsVisible, setOpacity, setSelectedSeriesStyle, suspendUpdates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addIsSelectedChangeListener, addIsVisibleChangeListener, getIsSelected, getIsVisible, getOpacity, getSelectedSeriesStyle, removeIsSelectedChangeListener, removeIsVisibleChangeListener, setIsSelected, setIsVisible, setOpacity, setSelectedSeriesStyle
protected final com.scichart.core.framework.SmartPropertyDouble minimumProperty
protected final com.scichart.core.framework.SmartPropertyDouble maximumProperty
protected final com.scichart.core.framework.SmartProperty<ColorMap> colorMapProperty
protected final com.scichart.core.framework.SmartPropertyBoolean drawTextInCellProperty
protected final com.scichart.core.framework.SmartProperty<com.scichart.drawing.common.FontStyle> cellTextStyleProperty
public FastUniformHeatmapRenderableSeries()
FastUniformHeatmapRenderableSeries
classprotected FastUniformHeatmapRenderableSeries(UniformHeatmapRenderPassData currentRenderPassData, IHitProvider hitProvider, INearestPointProvider nearestPointProvider)
FastUniformHeatmapRenderableSeries
classcurrentRenderPassData
- The render pass data instancehitProvider
- The hit provider instancenearestPointProvider
- The nearest point provider instancepublic final double getMinimum()
FastUniformHeatmapRenderableSeries
public final void setMinimum(double minimum)
FastUniformHeatmapRenderableSeries
minimum
- The minimum valuepublic final double getMaximum()
FastUniformHeatmapRenderableSeries
public final void setMaximum(double maximum)
FastUniformHeatmapRenderableSeries
maximum
- The maximum valuepublic final ColorMap getColorMap()
ColorMap
associated with this FastUniformHeatmapRenderableSeries
public final void setColorMap(ColorMap colorMap)
ColorMap
associated with this FastUniformHeatmapRenderableSeries
colorMap
- The color mappublic final boolean getDrawTextInCell()
FastUniformHeatmapRenderableSeries
should draw text in heat map cellspublic final void setDrawTextInCell(boolean drawTextInCell)
FastUniformHeatmapRenderableSeries
should draw text in heat map cellsdrawTextInCell
- If true text will be drawn in heat map cellspublic final com.scichart.drawing.common.FontStyle getCellTextStyle()
FontStyle
for heat map cellsFontStyle
for heat map cellspublic final void setCellTextStyle(com.scichart.drawing.common.FontStyle cellTextStyle)
FontStyle
for heat map cellscellTextStyle
- The FontStyle
for heat map cellsprotected final boolean isOfValidType(IDataSeries dataSeries)
isOfValidType
in class BaseRenderableSeries
dataSeries
- The data series instance to checkprotected void internalDraw(com.scichart.drawing.common.IRenderContext2D renderContext, com.scichart.drawing.common.IAssetManager2D assetManager, ISeriesRenderPassData renderPassData)
IRenderContext2D
, the IAssetManager2D
and the ISeriesRenderPassData
passed ininternalDraw
in class BaseRenderableSeries
renderContext
- The render context. This is a graphics object which has methods to draw lines, quads and polygons to the screenassetManager
- The asset manager. This is manager for graphic assets which has method for creation pens, brushes and texturesrenderPassData
- The render pass data which contain a resampled point series, the index range of point on the screen
and the current coordinate calculator of XAxis and YAxis to convert data-point to screen pointsprotected java.lang.String formatCellToString(double cellValue)
getDrawTextInCell()
is truecellValue
- The value to formatprotected void internalUpdateRenderPassData(ISeriesRenderPassData renderPassDataToUpdate, IDataSeries<?,?> dataSeries, com.scichart.data.numerics.ResamplingMode resamplingMode, com.scichart.data.numerics.pointresamplers.IPointResamplerFactory factory) throws java.lang.Exception
internalUpdateRenderPassData
in class BaseRenderableSeries
renderPassDataToUpdate
- The render pass data to updatedataSeries
- The data series associated with this renderable series instanceresamplingMode
- The resampling mode associated with this renderable series instancefactory
- The IPointResamplerFactory
to usejava.lang.Exception
- If any exception occurs