I've been drawing a box at the bottom of my charts to display a few stats. I painted (in onrender) a black rectangle, then the text over that. This all works fine, but some of the other drawing objects, show through. I guess they are drawn after I drew the rectangle. I tried changing the order of the indicators, but it did not make a difference. Some of the other indicators lines still show through.
Is there a way to avoid this? it seems the majority of stuff hidden, but some things like horizontal lines and the emas show right through.
My rectangle is drawn and filled as follows
RenderTarget.DrawRectangle(rect, customDXBrush, 2);
RenderTarget.FillRectangle( rect, customDXBrushBackground);
Thanks,
Comment