8.2. CartesianChart
The CartesianChart
host for views is CartesianChartView
.
CartesianChartView
automatically creates a CartesianChart
when the layers
attribute is used:
Use CartesianChartView.chart
property to get a reference to this CartesianChart
. Also use it to apply a programmatically created CartesianChart
:
CartesianChartView
has XML attributes for toggling scroll and zoom:
More advanced customization is performed via ScrollHandler
and ZoomHandler
: