anychart.onDocumentReady(function () {
var chart = anychart.sparkline([50, 15, 10, 60, 20, 65, 30]);
var maxLabels = chart.maxLabels();
chart.title({text: 'Get and modify label for the maximum point', orientation: 'top'});
chart.container('container');