Page 1 of 1

How and where to force Context to redraw.

Posted: Oct 09 2012
by holya
I'm using GDI+ to draw complex shapes on my chart. But so far I haven't been able to force the context to redraw itself, so I have to interact with the chart to do so which is unreasonable!
I have used context.DirtyRect = context.FullRect and context.ReDraw = true; in Draw method but no luck!
Does anyone know how to do this?

Thanks a million!

Re: How and where to force Context to redraw.  [SOLVED]

Posted: Oct 11 2012
by Henry MultiŠ”harts
Hello Holya,

You can use IChartCustomDrawRegistrator.ReDraw() to do that.
As a usage example please refer to _Market_Depth_on_Chart study.