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

    Parameters

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

      The configuration options

      • context: CanvasRenderingContext2D
      • fillStyle: string
      • lineWidth: number
      • size: number
      • strokeStyle: string
      • x: number
      • y: number

    Returns number[][]

Generated using TypeDoc