Plots a line chart/plot/graph for an array of data with bins specified by another array.

  • Parameters

    • arr: number[]
    • bins: number[]
    • config: {
          context: CanvasRenderingContext2D;
          lineWidth: number;
          size: number;
          strokeStyle: string;
          x: number;
          y: number;
      }

      The configuration options

    Returns number[][]