How to draw on top of a chart
Posted: Fri May 06, 2011 9:37 am
Hi.
I'm using TeeChart in a Windows Forms application. I have a chart with a very dense grid. This makes the rendering of the chart very slow. This wouldn't matter much if I only needed to render the chart once. But I suspect that every time the user scrolls the chart or draws something on top of it using tools such as DrawLine or RectangleTool, the chart gets re-rendered. So the user experiences significant lag when trying to interact with the chart.
Is there any way to avoid the redrawing the whole chart and just to draw the tools on top of the existing chart?
-Joonas
I'm using TeeChart in a Windows Forms application. I have a chart with a very dense grid. This makes the rendering of the chart very slow. This wouldn't matter much if I only needed to render the chart once. But I suspect that every time the user scrolls the chart or draws something on top of it using tools such as DrawLine or RectangleTool, the chart gets re-rendered. So the user experiences significant lag when trying to interact with the chart.
Is there any way to avoid the redrawing the whole chart and just to draw the tools on top of the existing chart?
-Joonas