I'm trying to draw some profiles in OnRender. It works OK. I'm just drawing rectangles. One issue I noticed is that if I draw 2 rectangles at 2 adjacent prices, say, 900.25 and 900.50, and make the height of that rectangle the difference of the y co-ordinate between the 2, I sometimes get gaps. These gaps will appear and disappear and seemingly random spots as you scale the chart. A picture I am sure will be better at explaining it, so, below... It only happens occasionally, but it looks a bit naff. I can play around with trying to pad a pixel or so, but in many cases, it's not needed and applying to all wrecks the shape.
So, a little advice, please. I am sure NT or someone here has come across this. A hint as to how you handle it will be most appreciated. Thanks.

Comment