Search Results for

    Show / Hide Table of Contents

    Interface ILayoutManager

    Defines interface to a LayoutManager, which may be used to layout com.scichart.charting.visuals.SciChartSurface parts

    Implements
    IAttachable
    Namespace:
    Assembly: .dll
    Syntax
    public interface ILayoutManager extends IAttachable

    Methods

    attachAxis(IAxis axis, boolean isXAxis)

    Attaches axis to parent com.scichart.charting.visuals.SciChartSurface via current LayoutManager

    Declaration
    public abstract void attachAxis(IAxis axis, boolean isXAxis)
    Parameters
    Type Name Description
    IAxis axis

    The IAxis to attach

    boolean isXAxis

    The value indicating whether the axis is XAxis or YAxis

    detachAxis(IAxis axis)

    Detaches axis from parent com.scichart.charting.visuals.SciChartSurface via current LayoutManager

    Declaration
    public abstract void detachAxis(IAxis axis)
    Parameters
    Type Name Description
    IAxis axis

    The IAxis to detach

    onAxisPlacementChanged(IAxis axis, AxisAlignment oldAxisAlignment, boolean oldIsCenterAxis, AxisAlignment newAxisAlignment, boolean newIsCenterAxis)

    Called when axis is about to change its placement

    Declaration
    public abstract void onAxisPlacementChanged(IAxis axis, AxisAlignment oldAxisAlignment, boolean oldIsCenterAxis, AxisAlignment newAxisAlignment, boolean newIsCenterAxis)
    Parameters
    Type Name Description
    IAxis axis

    axis which changes its position

    AxisAlignment oldAxisAlignment

    old axis alignment value

    boolean oldIsCenterAxis

    old isCenterAxis value

    AxisAlignment newAxisAlignment

    new axis alignment value

    boolean newIsCenterAxis

    new isCenterAxis value

    onLayoutChart(int width, int height)

    Called during render pass of chart before rendering and should update positions of chart parts

    Declaration
    public abstract Size onLayoutChart(int width, int height)
    Parameters
    Type Name Description
    int width

    available viewport width

    int height

    available viewport height

    Returns
    Type Description
    Size

    The measured size of viewport

    Implements

    IAttachable
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml