|
@@ -415,7 +415,13 @@
|
|
data: $scope.xueli_data,
|
|
data: $scope.xueli_data,
|
|
center: ['30%', '50%']
|
|
center: ['30%', '50%']
|
|
}
|
|
}
|
|
- ]
|
|
|
|
|
|
+ ],
|
|
|
|
+ tooltip: {
|
|
|
|
+ trigger: 'item',
|
|
|
|
+ formatter: function (data) {
|
|
|
|
+ return data.seriesName + "<br/>" + data.name + " : " + data.value + " (" + data.percent.toFixed(0) + "%)";
|
|
|
|
+ }
|
|
|
|
+ }
|
|
};
|
|
};
|
|
$scope.load_dyxl = function () {
|
|
$scope.load_dyxl = function () {
|
|
$scope.xueli_legend_data.length = 0;
|
|
$scope.xueli_legend_data.length = 0;
|