<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 data = getData();
var list = anychart.standalones.resourceList(data);
list.parentBounds(0, 0, 600, 600);
// Set container.
list.container(stage);
list.draw();
});
function getData() {
return [
{
"name": "Vasil Kiryienka",
"description": "Rider"
},
"name": "Elia Viviani",
"name": "Ben Swift",
"name": "Michal Kwiatkowski",
"name": "Alex Peters",
];