Interface IAxisLayoutManager
Defines interface for axis layout manager which is responsible for measure and layout of axis and its renderers on screen
Namespace:
Assembly: .dll
Syntax
public interface IAxisLayoutManager extends IAttachable, IAxisLayoutChangeListener
Methods
measure(IAxisRenderer axisRenderer, IAxisTitleRenderer axisTitleRenderer, AxisLayoutState axisLayoutState)
Measures desired size for axis and its renderers for further layout calculations
Declaration
public abstract void measure(IAxisRenderer axisRenderer, IAxisTitleRenderer axisTitleRenderer, AxisLayoutState axisLayoutState)
Parameters
Type | Name | Description |
---|---|---|
IAxisRenderer | axisRenderer | Current axis renderer |
IAxisTitleRenderer | axisTitleRenderer | Current title renderer |
AxisLayoutState | axisLayoutState | Axis layout state which stores current state of axis layout |
onLayout(IAssetManager2D assetManager, IAxisRenderer axisRenderer, IAxisTitleRenderer axisTitleRenderer)
Performs layout of axis and its renderers on screen
Declaration
public abstract void onLayout(IAssetManager2D assetManager, IAxisRenderer axisRenderer, IAxisTitleRenderer axisTitleRenderer)
Parameters
Type | Name | Description |
---|---|---|
IAssetManager2D | assetManager | IAssetManager2D instance which manages assets for current com.scichart.drawing.common.IRenderSurface instance |
IAxisRenderer | axisRenderer | Current axis renderer |
IAxisTitleRenderer | axisTitleRenderer | Current axis ttile renderer |