Optional: run once per frame after every scale on the pane has been
measured, and before anything is painted.
draw is too late for anything that has to change a scale, because the
price axis is painted near the top of paintBase while primitives draw
further down: a range corrected in draw labels its axis one frame late,
and on a static chart that frame never comes. A comparison overlay lining
its scale up with the pane's own is the case this exists for.
Optional: run once per frame after every scale on the pane has been measured, and before anything is painted.
drawis too late for anything that has to change a scale, because the price axis is painted near the top ofpaintBasewhile primitives draw further down: a range corrected indrawlabels its axis one frame late, and on a static chart that frame never comes. A comparison overlay lining its scale up with the pane's own is the case this exists for.