Class PieDonutRenderableSeriesBase
Inheritance
PieDonutRenderableSeriesBase
Namespace:
Assembly: .dll
Syntax
public abstract class PieDonutRenderableSeriesBase extends renderableSeries.RenderableSeriesCore implements renderableSeries.IPieRenderableSeries
Constructors
PieDonutRenderableSeriesBase(renderableSeriesIPieDonutRenderPassData currentRenderPassData, renderableSeries.hitTest.IPieChartHitProvider hitProvider)
Declaration
protected PieDonutRenderableSeriesBase(renderableSeriesIPieDonutRenderPassData currentRenderPassData, renderableSeries.hitTest.IPieChartHitProvider hitProvider)
Parameters
Fields
DEGREE_IN_CIRCLE
Declaration
public static final int DEGREE_IN_CIRCLE
Field Value
center
Declaration
protected final PointF center
Field Value
Type |
Description |
android.graphics.PointF |
|
drawLabelsProperty
Declaration
protected final SmartPropertyBoolean drawLabelsProperty
Field Value
heightProperty
Declaration
protected final SmartPropertyFloat heightProperty
Field Value
heightSizingModeProperty
Declaration
protected final SmartProperty<SizingMode> heightSizingModeProperty
Field Value
invalidateElementListener
Declaration
protected final InvalidatableElementCallback invalidateElementListener
Field Value
invalidateLayoutListener
Declaration
protected final renderableSeries.InvalidatePieRenderableSeriesLayoutListener invalidateLayoutListener
Field Value
Type |
Description |
com.scichart.charting.visuals.renderableSeries.InvalidatePieRenderableSeriesLayoutListener |
|
outerRadius
Declaration
protected float outerRadius
Field Value
scaleProperty
Declaration
protected final SmartPropertyFloat scaleProperty
Field Value
segmentSpacingProperty
Declaration
protected final SmartPropertyFloat segmentSpacingProperty
Field Value
selectedSegmentOffsetProperty
Declaration
protected final SmartPropertyFloat selectedSegmentOffsetProperty
Field Value
seriesNameProperty
Declaration
protected final SmartProperty<String> seriesNameProperty
Field Value
startAngleProperty
Declaration
protected final SmartPropertyFloat startAngleProperty
Field Value
Methods
animate(long duration)
Animates this series with specified duration.
Declaration
public void animate(long duration)
Parameters
Type |
Name |
Description |
long |
duration |
|
animate(long duration, TimeInterpolator interpolator)
Animates associated series with specified duration.
Declaration
public void animate(long duration, TimeInterpolator interpolator)
Parameters
Type |
Name |
Description |
long |
duration |
|
android.animation.TimeInterpolator |
interpolator |
|
applyThemeProvider(IThemeProvider themeProvider)
Applies specified theme to current instance
Declaration
public void applyThemeProvider(IThemeProvider themeProvider)
Parameters
attachTo(IServiceContainer services)
Declaration
public void attachTo(IServiceContainer services)
Parameters
Overrides
detach()
Declaration
Overrides
disposeCachedData()
This method is called when series should dispose any cached data
Declaration
protected void disposeCachedData()
getContext()
Declaration
public final Context getContext()
Returns
Type |
Description |
android.content.Context |
|
getCurrentRenderPassData()
Declaration
public final renderableSeriesIPieDonutRenderPassData getCurrentRenderPassData()
Returns
getDrawLabels()
Gets a flag indicating whether to draw labels over segments, or not.
Declaration
public final boolean getDrawLabels()
Returns
getHeight()
Declaration
public final float getHeight()
Returns
getHeightSizingMode()
Gets the 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 value
Declaration
public final SizingMode getHeightSizingMode()
Returns
getParentSurface()
Gets the parent surface that this instance is associated with
Declaration
public final ISciPieChartSurface getParentSurface()
Returns
Gets label formatter for IPieSegment collection use by this series
Declaration
public final renderableSeries.IPieSegmentLabelFormatter getPieSegmentLabelFormatter()
Returns
getScale()
Gets the value determines which percentage of the circumference is occupied by the series.
Declaration
public final float getScale()
Returns
getSegmentSpacing()
Declaration
public final float getSegmentSpacing()
Returns
getSegmentsCollection()
Declaration
public final PieSegmentCollection getSegmentsCollection()
Returns
getSelectedSegmentOffset()
Gets the value which specifies the offset from center, which will be used for selected IPieSegments.
Declaration
public final float getSelectedSegmentOffset()
Returns
getSelectedSegmentsCollection()
Declaration
public final PieSegmentCollection getSelectedSegmentsCollection()
Returns
getSeriesAnimator()
Declaration
protected final renderableSeries.seriesAnimators.ISeriesAnimator getSeriesAnimator()
Returns
getSeriesInfoProvider()
Declaration
public final renderableSeries.hitTest.IPieSeriesInfoProvider getSeriesInfoProvider()
Returns
getSeriesName()
Gets the name of this series.
Declaration
public final String getSeriesName()
Returns
getStartAngle()
Gets the start angle value from which this series will be drawn.
Declaration
public final float getStartAngle()
Returns
hasSegments()
Declaration
public final boolean hasSegments()
Returns
hitTest(renderableSeries.hitTest.PieHitTestInfo hitTestResult, float x, float y)
Performs a hit-test at the specific point (x,y coordinate on the parent SciPieChartSurface.
Declaration
public final void hitTest(renderableSeries.hitTest.PieHitTestInfo hitTestResult, float x, float y)
Parameters
internalDraw(Canvas canvas, renderableSeriesIPieDonutRenderPassData renderPassData)
Declaration
protected abstract void internalDraw(Canvas canvas, renderableSeriesIPieDonutRenderPassData renderPassData)
Parameters
internalUpdateRenderPassData(renderableSeriesIPieDonutRenderPassData renderPassDataToUpdate)
Updates the current render pass data.
Declaration
protected void internalUpdateRenderPassData(renderableSeriesIPieDonutRenderPassData renderPassDataToUpdate)
Parameters
invalidateElement()
Declaration
public void invalidateElement()
invalidateLayout()
Declaration
public void invalidateLayout()
isUpdateOfRenderPassDataRequired()
Checks whether this pie renderable series need to update its render pass data.
Declaration
protected boolean isUpdateOfRenderPassDataRequired()
Returns
isValidForDrawing()
Checks whether this series is valid for drawing
Declaration
public boolean isValidForDrawing()
Returns
isValidForUpdate()
Checks whether this series is valid for update
Declaration
public boolean isValidForUpdate()
Returns
onDraw(Canvas canvas)
Declaration
public final void onDraw(Canvas canvas)
Parameters
Type |
Name |
Description |
android.graphics.Canvas |
canvas |
|
setDrawLabels(boolean drawLabels)
Sets a flag indicating whether to draw labels over segments, or not.
Declaration
public final void setDrawLabels(boolean drawLabels)
Parameters
Type |
Name |
Description |
boolean |
drawLabels |
|
setHeight(float height)
Declaration
public final void setHeight(float height)
Parameters
Type |
Name |
Description |
float |
height |
|
setHeightSizingMode(SizingMode heightSizingMode)
Sets the 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 value
Declaration
public final void setHeightSizingMode(SizingMode heightSizingMode)
Parameters
Sets label formatter for IPieSegment collection use by this series
Declaration
public void setPieSegmentLabelFormatter(renderableSeries.IPieSegmentLabelFormatter labelFormatter)
Parameters
setScale(float scale)
Sets the value determines which percentage of the circumference is occupied by the series.
Declaration
public final void setScale(float scale)
Parameters
Type |
Name |
Description |
float |
scale |
|
setSegmentSpacing(float segmentSpacing)
Declaration
public final void setSegmentSpacing(float segmentSpacing)
Parameters
Type |
Name |
Description |
float |
segmentSpacing |
|
setSegmentsCollection(PieSegmentCollection segmentsCollection)
Declaration
public final void setSegmentsCollection(PieSegmentCollection segmentsCollection)
Parameters
setSelectedSegmentOffset(float offset)
Sets the value which specifies the offset from center, which will be used for selected IPieSegments.
Declaration
public final void setSelectedSegmentOffset(float offset)
Parameters
Type |
Name |
Description |
float |
offset |
|
setSeriesAnimator(renderableSeries.seriesAnimators.ISeriesAnimator seriesAnimator)
Declaration
protected final void setSeriesAnimator(renderableSeries.seriesAnimators.ISeriesAnimator seriesAnimator)
Parameters
setSeriesInfoProvider(renderableSeries.hitTest.IPieSeriesInfoProvider seriesInfoProvider)
Declaration
public final void setSeriesInfoProvider(renderableSeries.hitTest.IPieSeriesInfoProvider seriesInfoProvider)
Parameters
setSeriesName(String seriesName)
Sets the name of this series.
Declaration
public final void setSeriesName(String seriesName)
Parameters
Type |
Name |
Description |
String |
seriesName |
|
setStartAngle(float startAngle)
Sets the start angle value from which this series will be drawn.
Declaration
public final void setStartAngle(float startAngle)
Parameters
Type |
Name |
Description |
float |
startAngle |
|
updateLayoutPassData(PieChartLayoutState pieChartLayoutState)
Called during layout pass and updates current layout pass data.
Declaration
public void updateLayoutPassData(PieChartLayoutState pieChartLayoutState)
Parameters
Implements