public interface ILayoutManager
extends com.scichart.core.framework.IAttachable
SciChartSurface
partsModifier and Type | Method and Description |
---|---|
void |
attachAxis(IAxis axis,
boolean isXAxis)
Attaches axis to parent
SciChartSurface via current LayoutManager |
void |
detachAxis(IAxis axis)
Detaches axis from parent
SciChartSurface via current LayoutManager |
void |
onAxisPlacementChanged(IAxis axis,
AxisAlignment oldAxisAlignment,
boolean oldIsCenterAxis,
AxisAlignment newAxisAlignment,
boolean newIsCenterAxis)
Called when axis is about to change its placement
|
com.scichart.core.common.Size |
onLayoutChart(int width,
int height)
Called during render pass of chart before rendering and should update positions of chart parts
|
void attachAxis(IAxis axis, boolean isXAxis)
SciChartSurface
via current LayoutManageraxis
- The IAxis
to attachisXAxis
- The value indicating whether the axis is XAxis or YAxisvoid detachAxis(IAxis axis)
SciChartSurface
via current LayoutManageraxis
- The IAxis
to detachvoid onAxisPlacementChanged(IAxis axis, AxisAlignment oldAxisAlignment, boolean oldIsCenterAxis, AxisAlignment newAxisAlignment, boolean newIsCenterAxis)
axis
- axis which changes its positionoldAxisAlignment
- old axis alignment valueoldIsCenterAxis
- old isCenterAxis valuenewAxisAlignment
- new axis alignment valuenewIsCenterAxis
- new isCenterAxis valuecom.scichart.core.common.Size onLayoutChart(int width, int height)
width
- available viewport widthheight
- available viewport height