Green here is the raw values, red is the optimized call.
From here I see a faint line that the red max matches the max of the raw values, but it looks strange.
I can configure the width and style of the main line but not of the min/max lines. I think it would be nice to have the min max configurable, and it would make comparing raw vs optimized (and any future downsampling we support) better.