public interface

DataValueInterpolator

com.shinobicontrols.charts.DataValueInterpolator<Tx, Ty>

Class Overview

Responsible for providing a modified copy of a given List of Data items. The returned copy may contain a different number of Data items to that of the provided List. This would typically occur in scenarios such as data smoothing.

Summary

Public Methods
abstract List<Data<Tx, Ty>> getDataValuesForDisplay(List<Data<Tx, Ty>> data)
Returns a List of Data which is typically a modified copy of the List of Data passed in as a parameter.

Public Methods

public abstract List<Data<Tx, Ty>> getDataValuesForDisplay (List<Data<Tx, Ty>> data)

Returns a List of Data which is typically a modified copy of the List of Data passed in as a parameter. In most cases the number of items returned will differ from the number passed in. For example in the case of data smoothing, additional data items are typically generated and included in the returned list of data items.

Parameters
data the List of Data items on which to base a returned modified copy
Returns
  • a List of Data which is typically a modified copy of the List of Data passed in as a parameter