Interface for providing a custom logic to where the filling line of a LineDataSet should end. This of course only works if setFillEnabled(...) is set to true.

interface IFillFormatter {
    getFillLinePath(
        dataSet: ILineDataSet,
        dataProvider: LineDataProvider,
        linePath: Path,
        lastLinePath: Path,
    ): any;
    getFillLinePosition(
        dataSet: ILineDataSet,
        dataProvider: LineDataProvider,
    ): any;
}

Implemented by

Methods

  • update the fill line Path for the dataset

    Parameters

    Returns any

  • Returns the vertical (y-axis) position where the filled-line of the LineDataSet should end.

    Parameters

    Returns any