@@ -415,7 +415,13 @@
data: $scope.xueli_data,
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.xueli_legend_data.length = 0;