diff --git a/module/testreport/ui/create.html.php b/module/testreport/ui/create.html.php index 3a5c246cfa..30e3abaf89 100644 --- a/module/testreport/ui/create.html.php +++ b/module/testreport/ui/create.html.php @@ -63,7 +63,8 @@ foreach($charts as $chartType => $chartOption) 'type' => 'pie' ) ) - ) + ), + set::tooltip(array('show' => true, 'formatter' => "{b} : {d}%")) ) ), cell @@ -133,7 +134,8 @@ $bugStageChart = div ) ), set::yAxis(array('type' => 'value')), - set::series($chartOption) + set::series($chartOption), + set::tooltip(array('trigger' => 'axis', 'axisPointer' => array('type' => 'shadow'))) ) ), cell @@ -211,7 +213,8 @@ $bugHandleChart = div ) ), set::yAxis(array('type' => 'value')), - set::series($chartOption) + set::series($chartOption), + set::tooltip(array('trigger' => 'axis', 'axisPointer' => array('type' => 'shadow'))) ) ), cell @@ -295,7 +298,8 @@ foreach($bugInfo as $infoKey => $infoValue) 'type' => 'pie' ) ) - ) + ), + set::tooltip(array('show' => true, 'formatter' => "{b} : {d}%")) ) ), cell diff --git a/module/testreport/ui/edit.html.php b/module/testreport/ui/edit.html.php index 36cb3f0f31..e2e2faad12 100644 --- a/module/testreport/ui/edit.html.php +++ b/module/testreport/ui/edit.html.php @@ -58,7 +58,8 @@ foreach($charts as $chartType => $chartOption) 'type' => 'pie' ) ) - ) + ), + set::tooltip(array('show' => true, 'formatter' => "{b} : {d}%")) ) ), cell @@ -128,7 +129,8 @@ $bugStageChart = div ) ), set::yAxis(array('type' => 'value')), - set::series($chartOption) + set::series($chartOption), + set::tooltip(array('trigger' => 'axis', 'axisPointer' => array('type' => 'shadow'))) ) ), cell @@ -205,7 +207,8 @@ $bugHandleChart = div ) ), set::yAxis(array('type' => 'value')), - set::series($chartOption) + set::series($chartOption), + set::tooltip(array('trigger' => 'axis', 'axisPointer' => array('type' => 'shadow'))) ) ), cell @@ -289,7 +292,8 @@ foreach($bugInfo as $infoKey => $infoValue) 'type' => 'pie' ) ) - ) + ), + set::tooltip(array('show' => true, 'formatter' => "{b} : {d}%")) ) ), cell diff --git a/module/testreport/ui/view.html.php b/module/testreport/ui/view.html.php index d2063000da..eb13327f19 100644 --- a/module/testreport/ui/view.html.php +++ b/module/testreport/ui/view.html.php @@ -73,7 +73,8 @@ foreach($charts as $chartType => $chartOption) 'type' => 'pie' ) ) - ) + ), + set::tooltip(array('show' => true, 'formatter' => "{b} : {d}%")) ) ), cell @@ -144,7 +145,8 @@ $bugStageChart = div ) ), set::yAxis(array('type' => 'value')), - set::series($chartOption) + set::series($chartOption), + set::tooltip(array('trigger' => 'axis', 'axisPointer' => array('type' => 'shadow'))) ) ), cell @@ -224,7 +226,8 @@ $bugHandleChart = div ) ), set::yAxis(array('type' => 'value')), - set::series($chartOption) + set::series($chartOption), + set::tooltip(array('trigger' => 'axis', 'axisPointer' => array('type' => 'shadow'))) ) ), cell @@ -309,7 +312,8 @@ foreach($bugInfo as $infoKey => $infoValue) 'type' => 'pie' ) ) - ) + ), + set::tooltip(array('show' => true, 'formatter' => "{b} : {d}%")) ) ), cell