Defines the full range of a viewport data scale.
In the ChartDirector zooming and scrolling framework, the viewport coordinates are expressed as the visible fractions of the "full data scale". For example, if the "full data scale" is 10 years horizontally, a viewport 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 viewport coordinates and data scale (see WebChartViewer.getValueAtViewPort
), and to configure an Axis
to reflect the visible data scale (see WebChartViewer.syncLinearAxisWithViewPort
© 2017 Advanced Software Engineering Limited. All rights reserved.