|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
<!--echarts_dev:开发板包含了常见的警告和错误提示,上线版:echarts.min.js -->
|
|
|
|
|
<%= javascript_include_tag '/echart/echarts.min.js' %>
|
|
|
|
|
<div class="fl" style="width: <%= params[:pdf] ? 750 : 820 %>px;height: 580px" id="shixun_skill_chart">
|
|
|
|
|
<div class="fl" style="width: <%= params[:pdf] ? 750 : 810 %>px;height: 580px" id="shixun_skill_chart">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fl" style="width: <%= params[:pdf] ? 750 : 820 %>px;height: 580px" id="shixun_overall_ablility_chart">
|
|
|
|
|
<div class="fl" style="width: <%= params[:pdf] ? 750 : 810 %>px;height: 580px" id="shixun_overall_ablility_chart">
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
console.log(<%= @power %>);
|
|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
option = {
|
|
|
|
|
grid: {
|
|
|
|
|
left: '3%',
|
|
|
|
|
right: '7%',
|
|
|
|
|
right: '9%',
|
|
|
|
|
bottom: '3%',
|
|
|
|
|
containLabel: true
|
|
|
|
|
},
|
|
|
|
|