Class PiecewiseLineVisualSet

All Implemented Interfaces:
IClipboardTextPropertyOwner<Double>, ILegendNodePropertiesOwner, IMinMaxValuePropertyOwner, IPiecewiseVisualSet, IUpdatePolicyPropertyOwner, IAbstractChartVisualSet, ILineChartVisualSet

public class PiecewiseLineVisualSet extends LineVisualSet<Pair<Double,Double>> implements IPiecewiseVisualSet
Visual set for drawing line plots with points based on PiecewiseFunction. Optionally draws the plot as a stack diagram.

Uses a discretization method to reduce the amount of data displayed on the chart to improve drawing performance. The discretization settings are the same as in PiecewisePolylineVisualSet.

The current arguments range displayed on the chart is always used to determine the sampling factor.

The PiecewiseFunction.InterpolationType defines the values of the discretized points, the LineVisualSet.InterpolationType defines the way the points are connected:

Only UpdatePolicy.DYNAMIC is supported.

Author:
Andrey Malykhanov