anychart.onDocumentReady(function () {
var stage = anychart.graphics.create('container');
var pattern = stage.pattern(new anychart.graphics.math.Rect(0, 0, 20, 20));
pattern.star5(10, 10, 8).stroke('#fffaf0');
var chart = anychart.bubble();
var series = chart.bubble([
{x: 1, value: 1.0, size: 2},
{x: 2, value: 1.6, size: -7},
{x: 3, value: 1.2, size: -4},
{x: 4, value: 1.9, size: 3},
{x: 4, value: 1.5, size: -2}
series.displayNegative(true);
var state = series.normal();
state.negativeHatchFill(pattern);
chart.title('Set state hatch fill as a pattern');