anychart.onDocumentReady(function () {
var chart = anychart.line([
{x: 'Fruit', value: -12},
chart.title('Click on the chart and then double-click');
chart.listen('click', function (e) {
chart.title({fontColor: '#4CAF50'});
chart.listen('dblClick', function (e) {
chart.title('You can\'t click here anymore');
chart.title({fontColor: '#000000'});
chart.removeAllListeners();
chart.container('container');