anychart.onDocumentReady(function () {
var chart = anychart.sparkline([1.3, 2, 1.4, 4, 2.3, 6]);
chart.title({text: 'Click on the chart', orientation: 'top'});
chart.listenOnce('click', function (e) {
chart.title('You can\'t click anymore');
chart.container('container');