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!
How and where to force Context to redraw. [SOLVED]
- Henry MultiСharts
- Posts: 9165
- Joined: Aug 25 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Hello Holya,
You can use IChartCustomDrawRegistrator.ReDraw() to do that.
As a usage example please refer to _Market_Depth_on_Chart study.
You can use IChartCustomDrawRegistrator.ReDraw() to do that.
As a usage example please refer to _Market_Depth_on_Chart study.