Enables clipping on the plot area.
In normal usage, ChartDirector will auto-scale the axis to ensure all the data points will be within the plot area.
However, if manual scaling is used (e.g. using Axis.setLinearScale
), it is possible to choose an axis scale such that some data points will be outside the plot area. So some of the data representation (bars, lines, etc) will be outside the plot area.
This method can be used to clip the plot area, so that any data representation that is outside the plot area will not be drawn.
© 2021 Advanced Software Engineering Limited. All rights reserved.