TChartEditor response time
Posted: Wed Apr 22, 2015 6:08 pm
Hi,
When the chart shows e.g. million data points, the chart editor becomes so slow that users think the software has crashed. With the chart editor's AutoRepaint property set to True, then just changing the series title causes many seconds of delay while the whole chart is redrawn. With the AutoRepaint property set to False, the chart closes and the application seems to hang while the chart is updated. In either mode the user has no visible indication that anything is happening, and the TChartEditor offers no events that we can use to show a wait cursor.
Is there anything that can be done to speed up chart regeneration? Are there other chart properties that can be set to improve performance? If we're changing only the series title through the chart editor, then only the legend needs to be redrawn, and that should be really quick.
Alternatively, could the TChartEditor support more events so that we can keep users informed during time-consuming operations?
Thanks for any advice.
Toreba
When the chart shows e.g. million data points, the chart editor becomes so slow that users think the software has crashed. With the chart editor's AutoRepaint property set to True, then just changing the series title causes many seconds of delay while the whole chart is redrawn. With the AutoRepaint property set to False, the chart closes and the application seems to hang while the chart is updated. In either mode the user has no visible indication that anything is happening, and the TChartEditor offers no events that we can use to show a wait cursor.
Is there anything that can be done to speed up chart regeneration? Are there other chart properties that can be set to improve performance? If we're changing only the series title through the chart editor, then only the legend needs to be redrawn, and that should be really quick.
Alternatively, could the TChartEditor support more events so that we can keep users informed during time-consuming operations?
Thanks for any advice.
Toreba