Class PieChartModifierBase
Defines the base class to a PieChart Modifier, which can be used to extend the interactivity or rendering of the SciPieChartSurface
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class PieChartModifierBase extends ChartModifierCore implements IPieChartModifier, ISciPieChartSurfaceProvider
Constructors
PieChartModifierBase()
Declaration
public PieChartModifierBase()
Methods
attachTo(IServiceContainer services)
Declaration
public void attachTo(IServiceContainer services)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceContainer | services |
Overrides
detach()
Declaration
public void detach()
Overrides
getContext()
Declaration
public final Context getContext()
Returns
| Type | Description |
|---|---|
| android.content.Context |
getModifierSurface()
Gets the parent SciChartSurface#getModifierSurface()
Declaration
public final IChartModifierSurface getModifierSurface()
Returns
| Type | Description |
|---|---|
| IChartModifierSurface |
getParentSurface()
Gets the parent surface that this instance is associated with
Declaration
public ISciPieChartSurface getParentSurface()
Returns
| Type | Description |
|---|---|
| ISciPieChartSurface |
getPointRelativeTo(PointF point, IHitTestable relativeTo)
Transforms point with coordinates relative to parent surface and transforms it relative to specified IHitTestable instance
Declaration
public final boolean getPointRelativeTo(PointF point, IHitTestable relativeTo)
Parameters
| Type | Name | Description |
|---|---|---|
| android.graphics.PointF | point | The point to translate |
| IHitTestable | relativeTo | The target IHitTestable instance |
Returns
| Type | Description |
|---|---|
| boolean | True if translate was successful |
getRenderableSeries()
Gets the parent SciPieChartSurface#getRenderableSeries() collection
Declaration
public final List<renderableSeries.IPieRenderableSeries> getRenderableSeries()
Returns
| Type | Description |
|---|---|
| List<IPieRenderableSeries> |
onParentSurfaceResized(ResizedMessage message)
Called when chart resized.
Declaration
public void onParentSurfaceResized(ResizedMessage message)
Parameters
| Type | Name | Description |
|---|---|---|
| ResizedMessage | message |
onPieRenderSurfaceRendered(PieChartRenderedMessage message)
Called when parent SciPieChartSurface rendered.
Declaration
public void onPieRenderSurfaceRendered(PieChartRenderedMessage message)
Parameters
| Type | Name | Description |
|---|---|---|
| PieChartRenderedMessage | message |
onRenderableSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)
Called when RenderableSeries changes
Declaration
public void onRenderableSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionChangedEventArgs<? extends com.scichart.charting.visuals.renderableSeries.IRenderableSeriesCore> | args |
Overrides
onRenderableSeriesDrasticallyChanged()
Called when RenderableSeries collection drastically changed
Declaration
public void onRenderableSeriesDrasticallyChanged()
Overrides
onSegmentCollectionDrasticallyChanged()
Called when segments collection drastically changed.
Declaration
public void onSegmentCollectionDrasticallyChanged()
onSegmentsCollectionChanged(CollectionChangedEventArgs<renderableSeries.IPieSegment> args)
Called when segments collection changes.
Declaration
public void onSegmentsCollectionChanged(CollectionChangedEventArgs<renderableSeries.IPieSegment> args)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionChangedEventArgs<IPieSegment> | args |
onSelectedSegmentsCollectionChanged(CollectionChangedEventArgs<renderableSeries.IPieSegment> args)
Called when selected segments collection changes.
Declaration
public void onSelectedSegmentsCollectionChanged(CollectionChangedEventArgs<renderableSeries.IPieSegment> args)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionChangedEventArgs<IPieSegment> | args |
onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)
Called when SelectedSeries collection changes
Declaration
public void onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionChangedEventArgs<? extends com.scichart.charting.visuals.renderableSeries.IRenderableSeriesCore> | args |