hight charts

This commit is contained in:
Your Name 2016-06-23 14:58:09 +08:00
parent 5cf108030f
commit 3964631ed1
1 changed files with 7 additions and 7 deletions

View File

@ -7,10 +7,9 @@
<p>file_complexity: <%= @complexity["msr"][6]["frmt_val"] %></p>
<p>class_complexity: <%= @complexity["msr"][7]["frmt_val"] %></p>
<p>function_complexity: <%= @complexity["msr"][8]["frmt_val"] %></p>
<%= javascript_include_tag 'highcharts','highcharts-more' %>
<script>
$(function () {
$('#container_complex').highcharts({
chart: {
@ -20,10 +19,10 @@
plotBorderWidth: 0,
plotShadow: false
},
title: {
text: 'Speedometer'
},
//
// title: {
// text: '复杂度'
// },
pane: {
startAngle: -150,
@ -140,7 +139,8 @@
<p class="fontGrey3 mt15">质量等级</p>
<p class="fontBlue2 pr">A<span class="f8 c_white analysis-genral-icon b_green2 borderRadius">正常</span></p>
</div>
<div class="analysis-genral" id="container_complex">
<div class="analysis-genral" >
<p id="container_complex">复杂度</p>
<p class="fontGrey3 mt15">复杂度</p>
<p class="fontBlue2 pr">44<span class="f8 c_white analysis-genral-icon b_green2 borderRadius">正常</span></p>
</div>