This function calls a forced redrawing of a specified chart.
[in] Chart ID. 0 means the current chart.
Usually it is used after changing the object properties.
When the ChartRedraw() function is called from an indicator, the chart is redrawn only after the calculation of the OnCalculate() function is over, because indicators are executed in the common terminal thread.