Class AbstractPolylineVisualSet<T>

Type Parameters:
T - visual set data elements type
All Implemented Interfaces:
IClipboardTextPropertyOwner<Double>, ILegendNodePropertiesOwner, IMinMaxValuePropertyOwner, IUpdatePolicyPropertyOwner, IAbstractChartVisualSet
Direct Known Subclasses:
GanttPolylineVisualSet, PolylineVisualSet

public abstract class AbstractPolylineVisualSet<T> extends AbstractLineVisualSet<T> implements IClipboardTextPropertyOwner<Double>
Class that is the parent for all visual sets drawn on the chart by points-and-lines. Differs from a line-based visual set in that the data element arguments may not be strictly increasing.
Author:
Aleksey
  • Field Details

  • Constructor Details

    • AbstractPolylineVisualSet

      public AbstractPolylineVisualSet(String name, Supplier<List<T>> dataElementsProvider, Function<T,Double> argumentExtractor, Function<T,Double> valueExtractor)
      Constructs a AbstractPolylineVisualSet with given name, data elements and arguments/value extractors, i.e. a functions that specifies the rule for extracting an argument/value from a data element.
      Parameters:
      name - visual set name is used to sort and name the visual sets on the chart
      dataElementsProvider - data elements list provider. The provider is invalidated every time the chart is being redrawn
      argumentExtractor - a function that specifies the rule for extracting an argument from a data element
      valueExtractor - a function that specifies the rule for extracting a value from a data element
  • Method Details