public class HorizontallyStackedColumnsCollection extends StackedSeriesCollectionBase<IStackedColumnRenderableSeries>
Modifier and Type | Field and Description |
---|---|
protected com.scichart.core.framework.SmartPropertyDouble |
dataPointWidthProperty |
protected com.scichart.core.framework.SmartPropertyDouble |
spacing |
protected com.scichart.core.framework.SmartProperty<SpacingMode> |
spacingMode |
invalidateElementCallback, isSelectedProperty, isVisibleProperty, OPERATION_NOT_SUPPORTED_MESSAGE, resamplingModeProperty, TAG, xAxisIdProperty, yAxisIdProperty
Constructor and Description |
---|
HorizontallyStackedColumnsCollection()
Creates a new instance of
HorizontallyStackedColumnsCollection class |
Modifier and Type | Method and Description |
---|---|
double |
getDataPointWidth()
Gets a value between 0.0 and 1.0 which defines the fraction of available space each column should occupy
|
double |
getSpacing()
Gets the value which specifies the width of the gap between horizontally stacked columns.
|
SpacingMode |
getSpacingMode()
Gets the
SpacingMode to use for the space between columns computations. |
com.scichart.data.model.IRange |
getXRange()
Returns the data range of the
IRenderableSeries on X direction by querying the associated data series
Individual RenderableSeries implementations may override this method to provide custom ranging on per-series basis |
com.scichart.data.model.IRange |
getYRange(ICoordinateCalculator xCoordCalc,
boolean getPositiveRange)
Returns the data range of the
IRenderableSeries on Y direction by querying the associated data series |
protected void |
internalUpdate(com.scichart.drawing.common.IAssetManager2D assetManager2D,
RenderPassState renderPassState)
Updates this renderable series instance and it's children.
|
void |
setDataPointWidth(double dataPointWidth)
Sets a value between 0.0 and 1.0 which defines the fraction of available space each column should occupy
|
void |
setSpacing(double spacing)
Sets the value which specifies the width of the gap between horizontally stacked columns.
|
void |
setSpacingMode(SpacingMode spacingMode)
Sets the
SpacingMode to use for the space between columns computations. |
protected void |
updateStackedRenderPassDataValues(IAxis xAxis,
IAxis yAxis)
Called during render pass and updates every stacked render pass data of the children series
|
addIsSelectedChangeListener, addIsVisibleChangeListener, applyThemeProvider, attachTo, decrementSuspend, detach, getContext, getCurrentRenderPassData, getDataSeries, getDataSeriesLock, getIsSelected, getIsSuspended, getIsVisible, getOpacity, getPaletteProvider, getParentSurface, getPointMarker, getRenderPassDataLock, getRenderPassDataTransformation, getResamplingMode, getSelectedSeriesStyle, getSeriesColor, getSeriesInfoProvider, getServices, getStrokeStyle, getXAxis, getXAxisId, getYAxis, getYAxisId, hasDataSeries, hitTest, hitTest, invalidateElement, isAttached, isValidForDrawing, isValidForUpdate, onDraw, onRenderSurfaceChanged, removeIsSelectedChangeListener, removeIsVisibleChangeListener, resumeUpdates, setDataSeries, setIsSelected, setIsVisible, setOpacity, setPaletteProvider, setPointMarker, setRenderPassDataTransformation, setResamplingMode, setSelectedSeriesStyle, setSeriesInfoProvider, setStrokeStyle, setXAxisId, setYAxisId, suspendUpdates, update, updateRenderPassData, verticalSliceHitTest
add, add, addAll, addAll, addObserver, clear, remove, remove, removeAll, removeObserver, removeRange, retainAll, set
clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
protected final com.scichart.core.framework.SmartPropertyDouble spacing
protected final com.scichart.core.framework.SmartProperty<SpacingMode> spacingMode
protected final com.scichart.core.framework.SmartPropertyDouble dataPointWidthProperty
public HorizontallyStackedColumnsCollection()
HorizontallyStackedColumnsCollection
classpublic double getSpacing()
public void setSpacing(double spacing)
SpacingMode
used.spacing
- New spacing.public SpacingMode getSpacingMode()
SpacingMode
to use for the space between columns computations.
E.g. the default of Absolute requires that the spacing value is in pixels. The value
of Relative requires that the spacing value is a double value from 0.0 to 1.0.SpacingMode
instance.public void setSpacingMode(SpacingMode spacingMode)
SpacingMode
to use for the space between columns computations.
E.g. the default of Absolute requires that the spacing value is in pixels. The value
of Relative requires that the spacing value is a double value from 0.0 to 1.0.spacingMode
- New SpacingMode
instance.public final double getDataPointWidth()
public final void setDataPointWidth(double dataPointWidth)
dataPointWidth
- The data point widthpublic com.scichart.data.model.IRange getXRange()
IRenderableSeries
on X direction by querying the associated data series
Individual RenderableSeries implementations may override this method to provide custom ranging on per-series basispublic com.scichart.data.model.IRange getYRange(ICoordinateCalculator xCoordCalc, boolean getPositiveRange)
IRenderableSeries
on Y direction by querying the associated data seriesxCoordCalc
- The XAxis coordinate calculator currently used.getPositiveRange
- Indicates whether to return positive YRange onlyprotected void updateStackedRenderPassDataValues(IAxis xAxis, IAxis yAxis)
updateStackedRenderPassDataValues
in class StackedSeriesCollectionBase<IStackedColumnRenderableSeries>
xAxis
- The XAxis instance that this StackedSeriesCollectionBase
is associated withyAxis
- The YAxis instance that this StackedSeriesCollectionBase
is associated withprotected void internalUpdate(com.scichart.drawing.common.IAssetManager2D assetManager2D, RenderPassState renderPassState)
internalUpdate
in class StackedSeriesCollectionBase<IStackedColumnRenderableSeries>
assetManager2D
- The IAssetManager2D
used for this render passrenderPassState
- The RenderPassState
for this render pass