ng-echarts
ng-echarts copied to clipboard
How to get the value of selected area?
For example,in a map (type='china '), when I clicked a province , how can I get the name of the province selected?
like this
$scope.mapConfig.event = [{click:onClick}];
function onClick(params){
console.log(params.name);
};