anychart.onDocumentReady(function () {
var chart = anychart.sparkline();
{name: "Point 1", value: 1},
{name: "Point 2", value: 35},
{name: "Point 3", value: 5},
{name: "Point 4", value: 43},
{name: "Point 5", value: 15}
chart.title({text: "Set chart data as an array of objects", orientation: "top"});
chart.container("container");