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