Slow Repaint
Posted: Thu Nov 30, 2006 12:09 pm
Hello,
I'm experiencing the following performance issue with the ActiveX version of TChart Pro v7:
When creating a chart which has 6 fastLine series, with 4096 points each. calling repaint() on the chart takes a long time.
If I remove the calls to OnBeforeDrawChart or OnAfterDraw, the chart repaint() is quick, adding one of those events even without drawing on the chart, (i.e. Sub TChart1_OnBeforeDrawChart() End Sub) slows the repaint() method significantly.
I need to be able to draw lines on the chart based on input from the user, drawing without calling repaint() does not remove previous lines.
Any ideas would be much appreciated!
Thanks.
I'm experiencing the following performance issue with the ActiveX version of TChart Pro v7:
When creating a chart which has 6 fastLine series, with 4096 points each. calling repaint() on the chart takes a long time.
If I remove the calls to OnBeforeDrawChart or OnAfterDraw, the chart repaint() is quick, adding one of those events even without drawing on the chart, (i.e. Sub TChart1_OnBeforeDrawChart() End Sub) slows the repaint() method significantly.
I need to be able to draw lines on the chart based on input from the user, drawing without calling repaint() does not remove previous lines.
Any ideas would be much appreciated!
Thanks.