public interface IAxisLayoutStrategy
SciChartSurface
Modifier and Type | Method and Description |
---|---|
void |
addAxis(IAxis axis)
Adds axis into this
IAxisLayoutStrategy instance |
void |
layoutAxes(int left,
int top,
int right,
int bottom)
Perform layout on axes which use this layout strategy
|
void |
measureAxes(int availableWidth,
int availableHeight,
ChartLayoutState chartLayoutState)
Measures required amount of space to place axes which are currently attached to this
IAxisLayoutStrategy instance |
void |
removeAxis(IAxis axis)
Removes axis from this
IAxisLayoutStrategy instance |
void addAxis(IAxis axis)
IAxisLayoutStrategy
instanceaxis
- The axis to addvoid removeAxis(IAxis axis)
IAxisLayoutStrategy
instanceaxis
- The axis to removevoid measureAxes(int availableWidth, int availableHeight, ChartLayoutState chartLayoutState)
IAxisLayoutStrategy
instanceavailableWidth
- The available width in pixelsavailableHeight
- The available height in pixelschartLayoutState
- The ChartLayoutState
state for this layout pass which strategy should modify to set desired sizevoid layoutAxes(int left, int top, int right, int bottom)
left
- left position of area relative to parent SciChartSurface
top
- top position of area relative to parent SciChartSurface
right
- right position of area relative to parent SciChartSurface
bottom
- bottom position of area relative to parent SciChartSurface