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 阅读(112) 评论(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 阅读(2974) 评论(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 阅读(761) 评论(0) 推荐(0) 编辑

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

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


Copyright © 2024 NooBkey
Powered by .NET 8.0 on Kubernetes