anychart.onDocumentReady(function () {
var chart = anychart.sparkline([70, 5, 10, 60, 20, 50, 30]);
chart.seriesType('column');
chart.lastFill('#4CAF50');
var lastFill = chart.lastFill();
chart.title({text: 'Get and use fill color for the last point', fontColor: lastFill, orientation: 'top'});
chart.container('container');