SeriesXYFormatter: (<T>(tableContentBuilder: T, series: SeriesXY, x: number, y: number, dataPoint: Point) => T)

Type declaration

    • <T>(tableContentBuilder: T, series: SeriesXY, x: number, y: number, dataPoint: Point): T
    • Interface for a function which builds ResultTable content when pointing at a SeriesXY.

      Returns

      TableContentBuilder that was supplied

      Type Parameters

      Parameters

      • tableContentBuilder: T

        Builder that is used to build contents of ResultTable. Use addRow() method for adding content.

      • series: SeriesXY

        SeriesXY

      • x: number

        X coordinate

      • y: number

        Y coordinate

      • dataPoint: Point

        The pointed data point. Contains x, y as well as any additional information that user supplied.

      Returns T