waveform chart now scales dynamically