Not the simple way but this method lets you display a 4096 samp wavetable in a view:
DrawA := [ :samples |
| gc bnds x y x2 y2 |
gc := ViewA graphicsContext.
bnds := ViewA bounds.
gc clearWith: ColorValue white.
gc lineWidth: 1.
gc displayLineFrom: (0 @ ((bnds height / 2) rounded)) to: ((bnds width) @ ((bnds height / 2) rounded)).
x := 0.
y := ((bnds height / 2) + (((bnds height / 2) - 4) * ((samples at: 1) * -1))) rounded.
1 to: 4095 do: [ :i |
x2 := (bnds width * i / 4095) rounded.
y2 := ((bnds height / 2) + (((bnds height / 2) - 4) * ((samples at: (i+1)) * -1))) rounded.
gc lineWidth: 2.
gc displayLineFrom: (x @ y) to: (x2 @ y2).
x := x2.
y := y2.
].
].
To use the method you need to send it a collection with 4096 elements:
DrawA value: aCollection
Solved :)