<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var stage = anychart.graphics.create('container');
var scroller = anychart.standalones.scroller();
scroller.parentBounds(10, 0, 400, 60);
// Set start ratio.
scroller.startRatio(0.3);
scroller.container(stage);
scroller.draw();
});