public interface IPieRenderableSeries extends IRenderableSeriesCore, ISciPieChartSurfaceProvider, com.scichart.core.framework.IAttachable, IThemeable
ISciPieChartSurface
.Modifier and Type | Method and Description |
---|---|
void |
animate(long duration)
Animates this series with specified duration.
|
void |
animate(long duration,
android.animation.TimeInterpolator interpolator)
Animates associated series with specified duration.
|
IPieDonutRenderPassData |
getCurrentRenderPassData()
Returns the current
IPieDonutRenderPassData instance which is used for render pass. |
boolean |
getDrawLabels()
Gets a flag indicating whether to draw labels over segments, or not.
|
float |
getHeight()
Gets the
IPieRenderableSeries height considering getHeightSizingMode() |
SizingMode |
getHeightSizingMode()
Gets the
SizingMode to use for computation of this series height. |
IPieSegmentLabelFormatter |
getPieSegmentLabelFormatter()
Gets label formatter for
IPieSegment collection use by this series |
float |
getScale()
Gets the value determines which percentage of the circumference is occupied by the series.
|
PieSegmentCollection |
getSegmentsCollection()
Gets the collection of
IPieSegment that this IPieRenderableSeries draws. |
float |
getSegmentSpacing()
Gets the value indicating spacing between segments of current
IPieRenderableSeries . |
float |
getSelectedSegmentOffset()
Gets the value which specifies the offset from center, which will be used for selected
IPieSegment s. |
PieSegmentCollection |
getSelectedSegmentsCollection()
Gets the collection of
IPieSegment that are selected |
IPieSeriesInfoProvider |
getSeriesInfoProvider()
Gets the
IPieSeriesInfoProvider instance associated with this series. |
java.lang.String |
getSeriesName()
Gets the name of this series.
|
float |
getStartAngle()
Gets the start angle value from which this series will be drawn.
|
boolean |
hasSegments()
Checks if this
IPieRenderableSeries has segments in it's PieSegmentCollection . |
void |
hitTest(PieHitTestInfo hitTestResult,
float x,
float y)
Performs a hit-test at the specific point (x,y coordinate on the parent
SciPieChartSurface . |
void |
invalidateLayout()
Asynchronously requests layout for the parent
ISciPieChartSurface instance. |
void |
onDraw(android.graphics.Canvas canvas)
Draws this
IPieRenderableSeries instance. |
void |
setDrawLabels(boolean drawLabels)
Sets a flag indicating whether to draw labels over segments, or not.
|
void |
setHeight(float height)
Sets the
IPieRenderableSeries height. |
void |
setHeightSizingMode(SizingMode sizingMode)
Sets the
SizingMode to use for computation of this series height. |
void |
setPieSegmentLabelFormatter(IPieSegmentLabelFormatter labelFormatter)
Sets label formatter for
IPieSegment collection use by this series |
void |
setScale(float scale)
Sets the value determines which percentage of the circumference is occupied by the series.
|
void |
setSegmentSpacing(float segmentSpacing)
Sets the value indicating spacing between segments of current
IPieRenderableSeries . |
void |
setSelectedSegmentOffset(float offset)
Sets the value which specifies the offset from center, which will be used for selected
IPieSegment s. |
void |
setSeriesInfoProvider(IPieSeriesInfoProvider seriesInfoProvider)
Sets the
IPieSeriesInfoProvider instance associated with this series. |
void |
setSeriesName(java.lang.String seriesName)
Sets the name of this series.
|
void |
setStartAngle(float startAngle)
Sets the start angle value from which this series will be drawn.
|
void |
updateLayoutPassData(PieChartLayoutState pieChartLayoutState)
Called during layout pass and updates current layout pass data.
|
addIsSelectedChangeListener, addIsVisibleChangeListener, getIsSelected, getIsVisible, getOpacity, getSelectedSeriesStyle, isValidForDrawing, isValidForUpdate, removeIsSelectedChangeListener, removeIsVisibleChangeListener, setIsSelected, setIsVisible, setOpacity, setSelectedSeriesStyle
invalidateElement
decrementSuspend, getIsSuspended, getUpdateSuspenderCount, resumeUpdates, suspendUpdates
attachTo, detach, isAttached
getParentSurface
applyThemeProvider
boolean getDrawLabels()
void setDrawLabels(boolean drawLabels)
drawLabels
- The new drawLabels value.float getStartAngle()
void setStartAngle(float startAngle)
startAngle
- New start angle value.float getSelectedSegmentOffset()
IPieSegment
s.void setSelectedSegmentOffset(float offset)
IPieSegment
s.offset
- New offset for selected segments.float getHeight()
IPieRenderableSeries
height considering getHeightSizingMode()
void setHeight(float height)
IPieRenderableSeries
height.height
- New height value.SizingMode getHeightSizingMode()
SizingMode
to use for computation of this series height.
E.g. the default of Absolute requires that the spacing value is in pixels. The value of Relative requires relative spacing valueSizingMode
instance.void setHeightSizingMode(SizingMode sizingMode)
SizingMode
to use for computation of this series height.
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 getSegmentSpacing()
IPieRenderableSeries
.void setSegmentSpacing(float segmentSpacing)
IPieRenderableSeries
.segmentSpacing
- New spacing between segments.float getScale()
void setScale(float scale)
scale
- New scale value.java.lang.String getSeriesName()
void setSeriesName(java.lang.String seriesName)
seriesName
- The new name of this series.PieSegmentCollection getSegmentsCollection()
IPieSegment
that this IPieRenderableSeries
draws.PieSegmentCollection getSelectedSegmentsCollection()
IPieSegment
that are selectedboolean hasSegments()
IPieRenderableSeries
has segments in it's PieSegmentCollection
.IPieRenderableSeries
has at least one segment. Otherwise - false.IPieDonutRenderPassData getCurrentRenderPassData()
IPieDonutRenderPassData
instance which is used for render pass.void hitTest(PieHitTestInfo hitTestResult, float x, float y)
SciPieChartSurface
.hitTestResult
- The PieHitTestInfo
instance where result of hit-test should be stored.x
- The x coordinate in pixels relative to parent SciPieChartSurface
.y
- The y coordinate in pixels relative to parent SciPieChartSurface
.IPieSeriesInfoProvider getSeriesInfoProvider()
IPieSeriesInfoProvider
instance associated with this series.IPieSeriesInfoProvider
instance.void setSeriesInfoProvider(IPieSeriesInfoProvider seriesInfoProvider)
IPieSeriesInfoProvider
instance associated with this series.seriesInfoProvider
- New IPieSeriesInfoProvider
instance.IPieSegmentLabelFormatter getPieSegmentLabelFormatter()
IPieSegment
collection use by this seriesvoid setPieSegmentLabelFormatter(IPieSegmentLabelFormatter labelFormatter)
IPieSegment
collection use by this serieslabelFormatter
- The new label formattervoid invalidateLayout()
ISciPieChartSurface
instance.void updateLayoutPassData(PieChartLayoutState pieChartLayoutState)
void onDraw(android.graphics.Canvas canvas)
IPieRenderableSeries
instance.canvas
- The canvas instance to draw on.void animate(long duration)
duration
- The duration of animation in milliseconds.void animate(long duration, android.animation.TimeInterpolator interpolator)
duration
- The duration of animation in milliseconds.interpolator
- The interpolator to be used by this animation. A value of null
will result in LinearInterpolator