Unregister Chart
With the help of this function, you can unregister a chart. It takes as parameters: the chart Id and the callback function. The chartId can be found in the response provided by the chartData function.
function unregisterChartId(chartId, callback)
Possible Responses:
Success
{
"RQT":"unregister_chart", // Request Type
"RQI":"16", // Request Id
"RES":"OK", // Result
"ID":"27" // Chart Id
}
Error
{
"RQT":"unregister_chart", // Request Type
"RQI":"16", // Request Id
"RES":"ERR", // Result
"MSG":"Chart doesn't exist" // Error Message
}