ChartLayout

Package: Libraries.Interface.Layouts · Inherits from: Libraries.Language.Object, Libraries.Interface.Layouts.Layout

Actions

Layout(Libraries.Interface.Controls.Control container, Libraries.Containers.Array<Libraries.Interface.Item2D> items, number containerWidth, number containerHeight)

Parameters

LayoutChartContent(Libraries.Interface.Controls.Charts.Chart chart, Libraries.Interface.Controls.Control chartAreaContainer)

Calculate and add padding so the edges of points aren't cut off.

Parameters

LayoutHorizontalAxis(Libraries.Interface.Controls.Charts.Chart chart, Libraries.Interface.Controls.Charts.HorizontalAxisPanel horizontalContainer)

Chart layouts do not have a way to determine the ticks of a subclass because charts are very different in style. As such, every chart needs to override this with ticks relevant for its own chart type.

Parameters

LayoutLegend(Libraries.Interface.Controls.Charts.Chart chart, Libraries.Interface.Controls.Control legendContainer, Libraries.Interface.Controls.Charts.Legend legend)

Draw axis lines (contained in chart areas)

Parameters

LayoutVerticalAxis(Libraries.Interface.Controls.Charts.Chart chart, Libraries.Interface.Controls.Charts.VerticalAxisPanel verticalContainer)

This way they can be uniformly sized.

Parameters

SetChartDrawableSelectionArrow(Libraries.Interface.Controls.Charts.Graphics.ChartDrawable item, integer arrowSize, boolean sideArrow)

Fetch the next color from the palette in the Options

Parameters

SetChartDrawableSelectionBracketAndArrow(Libraries.Interface.Controls.Charts.Graphics.ChartDrawable item, integer arrowSize, boolean sideArrow)

Calculate and add padding so the edges of points aren't cut off.

Parameters

Inherited Actions

3 actions from Libraries.Language.Object