2016年2月18日

摘要: <div id="summary_gw_duration" style="height: 300px"></div> <script src="http://10.10.10.10:8000/static/assets/js/highcharts.js"></script> <script type 阅读全文

posted @ 2016-02-18 13:07 NooBkey 阅读(121) 评论(0) 推荐(0)

摘要: 模板中通过变量替代key取字典内容 templatetags/├── get_item.py├── __init__.py ###get_item.py # coding=utf-8 from django import templatefrom django.utils.safestring im 阅读全文

posted @ 2016-02-18 13:00 NooBkey 阅读(2983) 评论(0) 推荐(0)

摘要: $('#uncheckAll').click(function(){ var chart = $('#container').highcharts(); var series = chart.series; for(i=0; i < chart.series.length; i++) { serie 阅读全文

posted @ 2016-02-18 12:53 NooBkey 阅读(778) 评论(0) 推荐(0)

摘要: tooltip: { valueSuffix: '%', formatter:function(){ return''+this.series.name+' '+Highcharts.numberFormat(this.y,2,'.')+' %';} }, 阅读全文

posted @ 2016-02-18 12:52 NooBkey 阅读(2196) 评论(0) 推荐(1)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3