Skip to content

The ViewPortHandler

Philipp Jahoda edited this page Mar 27, 2016 · 12 revisions

The ViewPortHandler class is responsible for handling the view-port of the chart. This means it's responsible for what is visible in the chart-view, it's current state in terms of translation and zoom / scale level. The ViewPortHandler allows to directly access all the above mentioned properties and modify them.

Getting an instance

An instance of the ViewPortHandler can be acquired the following way:

ViewPortHandler handler = chart.getViewPortHandler();

Properties

The documentation has moved.

Clone this wiki locally