Class LayoutManagerBase
Base class for implementation of custom LayoutManager
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class LayoutManagerBase implements layoutManagers.ILayoutManager
Constructors
LayoutManagerBase()
Declaration
public LayoutManagerBase()
Fields
parentSurface
Declaration
protected ISciChartSurface parentSurface
Field Value
| Type | Description |
|---|---|
| ISciChartSurface |
services
Declaration
protected IServiceContainer services
Field Value
| Type | Description |
|---|---|
| IServiceContainer |
Methods
attachTo(IServiceContainer services)
Declaration
public void attachTo(IServiceContainer services)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceContainer | services |
detach()
Declaration
public void detach()
isAttached()
Declaration
public final boolean isAttached()
Returns
| Type | Description |
|---|---|
| boolean |
layoutChartCenter(int left, int top, int right, int bottom)
Layout center parts of charts such as com.scichart.charting.visuals.IRenderableSeriesArea, com.scichart.charting.visuals.annotations.IAnnotationSurface and com.scichart.charting.visuals.IChartModifierSurface
Declaration
protected final void layoutChartCenter(int left, int top, int right, int bottom)
Parameters
| Type | Name | Description |
|---|---|---|
| int | left | left position of area relative to parent com.scichart.charting.visuals.SciChartSurface |
| int | top | top position of area relative to parent com.scichart.charting.visuals.SciChartSurface |
| int | right | right position of area relative to parent com.scichart.charting.visuals.SciChartSurface |
| int | bottom | bottom position of area relative to parent com.scichart.charting.visuals.SciChartSurface |
notifyOnAxisAlignmentChanged(IAxis axis, AxisAlignment oldValue, AxisAlignment newValue)
Notify all annotations which are attached to axis about changing of axis alignment
Declaration
protected final void notifyOnAxisAlignmentChanged(IAxis axis, AxisAlignment oldValue, AxisAlignment newValue)
Parameters
| Type | Name | Description |
|---|---|---|
| IAxis | axis | axis which has been changed |
| AxisAlignment | oldValue | old axis alignment |
| AxisAlignment | newValue | new axis alignment |