function CountryController ($scope) {
$scope.countries = [];
VK.Api.call("database.getCountries", {code: "RU,UA,BY,KZ"}, function(r) {
var countries_ar = [];
for(var i = 0; i < r.response.length; i++) {
countries_ar.push({title: r.response[i].title});
}
$scope.$apply(function () {
$scope.countries = countries_ar;
});
});
}
datasets: [{
fillColor: "rgba(225, 0, 0, 0.5)",
strokeColor : "rgba(225, 0, 0, 0.8)",
pointColor : "rgba(225, 0, 0, 1)",
pointStrokeColor : "rgba(255, 255, 255, 1)",
data : [99,85,80,70]
},
{
fillColor: "transparent",
strokeColor : "transparent",
pointColor : "transparent",
pointStrokeColor : "transparent",
data : [0,0,0,0]
}]