anychart.onDocumentReady(function () {
var chart = anychart.sparkline([1, 4, -7, 1, -3, 6, -8, 3]);
chart.negativeFill("#4CAF50");
chart.title({text: "Set fill parameter as a string for negative points", orientation: "top"});
chart.container("container");