how to improve paint() speed?
-
hi, i have a question. When i use chart1.invalidate() to refresh chart, it had 3 ms cost betten call chart_paint(), Then i called chart_paint() manully on other thread, it cost less than 1ms,it can reach my requirement. But chart has no refresh, it can not clean up history paint. So i want to know how to invalidate chart control ,but not to call paint aotumatic?
-
hi, i have a question. When i use chart1.invalidate() to refresh chart, it had 3 ms cost betten call chart_paint(), Then i called chart_paint() manully on other thread, it cost less than 1ms,it can reach my requirement. But chart has no refresh, it can not clean up history paint. So i want to know how to invalidate chart control ,but not to call paint aotumatic?
Have you tried over-riding the Paint Event ?
«Tell me and I forget. Teach me and I remember. Involve me and I learn.» Benjamin Franklin
-
Have you tried over-riding the Paint Event ?
«Tell me and I forget. Teach me and I remember. Involve me and I learn.» Benjamin Franklin