I want to change the chart for each city or subcity selected

Well, If I understand you right then you need something following: angular.module(“myApp”,[‘zingchart-angularjs’]) .controller(‘MainController’, [‘$scope’, ‘$http’, function($scope, $http) { $scope.chartBase = { “type”: “line”, “plotarea”: { “adjust-layout”: true /* For automatic margin adjustment. */ }, “scale-x”: { “label”: { “text”: “Above is an example of a category scale” /* Add a scale title with a label … Read more