anychart.onDocumentReady(function () {
var chart = anychart.sparkline([1, 4, -7, 1, -3, 6, -8, 3]);
chart.negativeHatchFill("backward_diagonal", "#FAFAFA", 2, 10);
chart.title({text: "Set hatch fill parameters for negative points", orientation: "top"});
chart.container("container");