- lineplot(arr, bins, config): number[][]
Parameters
arr: number[]
bins: number[]
config: {
context: CanvasRenderingContext2D;
lineWidth: number;
size: number;
strokeStyle: string;
x: number;
y: number;
}
context: CanvasRenderingContext2D
lineWidth: number
size: number
strokeStyle: string
x: number
y: number
Returns number[][]
Plots a line chart/plot/graph for an array of data with bins specified by another array.