Defines the full range of a view port data scale.
In the ChartDirector zooming and scrolling framework, the view port coordinates are expressed as the visible fractions of the "full data scale". For example, if the "full data scale" is 10 years horizontally, a view port width of 0.1 means that 1 year of data are visible.
The setFullRange method defines the full range of a data scale and gives it a name. As ChartDirector supports multiple x-axes and y-axes, so there can be multiple data scales with different names. The name can be used in other ChartDirector APIs to convert between the view port coordinates and data scale (see
WebChartViewer.getValueAtViewPort,
WebChartViewer.getViewPortAtValue), and to configure an
Axis to reflect the visible data scale (see
WebChartViewer.syncLinearAxisWithViewPort,
WebChartViewer.syncLogAxisWithViewPort and
WebChartViewer.syncDateAxisWithViewPort).
© 2014 Advanced Software Engineering Limited. All rights reserved.