public interface ISciPieChartSurface extends ISciChartSurfaceBase, com.scichart.core.utility.touch.IPublishMotionEvents, com.scichart.core.framework.IView, com.scichart.core.framework.IViewContainer, IThemeable
SciPieChartSurface
, which contains a single PieChartRenderSurface
viewport
for rendering multiple IPieRenderableSeries
which may have a IPieSegment
in the appropriate PieSegmentCollection
as a source.
The SciPieChartSurface
may have zero or many IPieChartModifier
to enable interaction with the chart.
Modifier and Type | Method and Description |
---|---|
PieChartModifierCollection |
getChartModifiers()
Gets the collection of
IPieChartModifier that this SciPieChartSurface uses |
float |
getHoleRadius()
Gets the value indicating radius of the hole, which is used only for
DonutRenderableSeries |
SizingMode |
getHoleRadiusSizingMode()
Gets the
SizingMode to use for computation of radius of the hole, which is used only for DonutRenderableSeries
E.g. |
PieRenderableSeriesCollection |
getRenderableSeries()
Gets the collection of
IPieRenderableSeries that this SciPieChartSurface draws |
PieRenderableSeriesCollection |
getSelectedRenderableSeries()
Gets the collection of
IPieRenderableSeries that are selected |
float |
getSeriesSpacing()
Gets the value indicating spacing between
IPieRenderableSeries instances. |
SizingMode |
getSeriesSpacingMode()
Gets the
SizingMode to use for computation of spacing. |
int |
getTheme()
Gets the current theme applied to this
ISciPieChartSurface |
void |
invalidateLayout()
Asynchronously requests layout for this
ISciPieChartSurface instance. |
void |
onSciChartRendered(PieChartRenderedMessage renderedMessage)
Processes
PieChartRenderedMessage which is raised at at the end of render pass |
void |
setHoleRadius(float holeRadius)
Sets the value indicating radius of the hole, which is used only for
DonutRenderableSeries |
void |
setHoleRadiusSizingMode(SizingMode sizingMode)
Sets the
SizingMode to use for computation of radius of the hole, which is used only for DonutRenderableSeries
E.g. |
void |
setRenderedListener(ISciPieChartSurfaceRenderedListener listener)
Sets the
ISciPieChartSurfaceRenderedListener instance for this surface |
void |
setSeriesSpacing(float seriesSpacing)
Sets the value indicating spacing between
IPieRenderableSeries instances. |
void |
setSeriesSpacingMode(SizingMode sizingMode)
Gets the
SizingMode to use for computation of spacing. |
exportToBitmap, getModifierSurface
invalidateElement
addMotionEventDispatcher, removeMotionEventDispatcher
safeAdd, safeAdd, safeRemove
getBackground, getHeight, getLayoutParams, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getVisibility, getWidth, invalidate, postInvalidate, requestLayout, setLayoutParams, setVisibility
getBoundsRelativeTo, getBoundsRelativeTo, getView, isPointWithinBounds, isPointWithinBounds, translatePoint
applyThemeProvider
float getHoleRadius()
DonutRenderableSeries
void setHoleRadius(float holeRadius)
DonutRenderableSeries
holeRadius
- New value for hole radius.SizingMode getHoleRadiusSizingMode()
SizingMode
to use for computation of radius of the hole, which is used only for DonutRenderableSeries
E.g. the default of Absolute requires that the spacing value is in pixels. The value of Relative requires relative spacing valueSizingMode
instance.void setHoleRadiusSizingMode(SizingMode sizingMode)
SizingMode
to use for computation of radius of the hole, which is used only for DonutRenderableSeries
E.g. the default of Absolute requires that the spacing value is in pixels. The value of Relative requires relative spacing valuesizingMode
- The new SizingMode
instance.float getSeriesSpacing()
IPieRenderableSeries
instances.void setSeriesSpacing(float seriesSpacing)
IPieRenderableSeries
instances.seriesSpacing
- New spacing between series.SizingMode getSeriesSpacingMode()
SizingMode
to use for computation of spacing.
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.SizingMode
instance.void setSeriesSpacingMode(SizingMode sizingMode)
SizingMode
to use for computation of spacing.
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.sizingMode
- The new SizingMode
instance.int getTheme()
ISciPieChartSurface
PieRenderableSeriesCollection getRenderableSeries()
IPieRenderableSeries
that this SciPieChartSurface
drawsPieRenderableSeriesCollection getSelectedRenderableSeries()
IPieRenderableSeries
that are selectedPieChartModifierCollection getChartModifiers()
IPieChartModifier
that this SciPieChartSurface
usesvoid onSciChartRendered(PieChartRenderedMessage renderedMessage)
PieChartRenderedMessage
which is raised at at the end of render passrenderedMessage
- The PieChartRenderedMessage
instancevoid setRenderedListener(ISciPieChartSurfaceRenderedListener listener)
ISciPieChartSurfaceRenderedListener
instance for this surfacelistener
- The listener to setvoid invalidateLayout()
ISciPieChartSurface
instance.