anychart.onDocumentReady(function () {
var chart = anychart.sparkline([1, 4, -7, 1, -3, 6, -8, 3]);
chart.container("container");
var negativeFill = chart.negativeFill();
chart.title({text: "Get and use fill for negative points", fontColor: negativeFill, orientation: "top"});