-
public class VirtualLayoutVirtualLayout measures and lays out the components of a chart.
-
-
Constructor Summary
Constructors Constructor Description VirtualLayout(AxisManager axisManager)
-
Method Summary
Modifier and Type Method Description <Model extends ChartEntryModel> RectFsetBounds(MeasureContext context, RectF contentBounds, Chart<Model> chart, Legend legend, HorizontalDimensions horizontalDimensions, ChartInsetter chartInsetter)Measures and sets the bounds for the components of the chart. -
-
Constructor Detail
-
VirtualLayout
VirtualLayout(AxisManager axisManager)
- Parameters:
axisManager- the AxisManager that manages the associated chart’s axes.
-
-
Method Detail
-
setBounds
<Model extends ChartEntryModel> RectF setBounds(MeasureContext context, RectF contentBounds, Chart<Model> chart, Legend legend, HorizontalDimensions horizontalDimensions, ChartInsetter chartInsetter)
Measures and sets the bounds for the components of the chart.
- Parameters:
context- holds data used for the measuring of components.contentBounds- the bounds in which the chart should be drawn.chart- the chart itself.legend- the legend for the chart.horizontalDimensions- the HorizontalDimensions of the chart.chartInsetter- additional components that influence the chart layout, such as markers.
-
-
-
-