anychart.onDocumentReady(function () {
var stage = anychart.graphics.create("container");
var chart = anychart.line();
chart.line([10, 4, 17, 20, 16, 35, 6, 15]);
chart.title("Get and use pixel bounds object.");
var bounds = chart.getPixelBounds();
var customBackground = anychart.standalones.background();
customBackground.fill("#BDBDBD 0.2");
customBackground.parentBounds(bounds);
customBackground.container(stage);