【发布时间】:2015-01-15 22:32:24
【问题描述】:
我尝试了其他图形,如果它们有效,但未运行深入分析。 网址:http://aicapitals.cl/grafico/
在我的模板中我有:
{% block javascript %}
//here the code http://jsfiddle.net/yw4Vh/
{% endblock javascript %}
{% block content %}
<script src="http://github.highcharts.com/bdf6471/highcharts.js"></script>
<script src="http://github.highcharts.com/bdf6471/modules/drilldown.src.js"></script>
<div id="container1" style="height: 300px"></div>
<div id="container2" style="height: 300px; width: 600px; margin: 0 auto"></div>
{% endblock content %}
div id="container2" 不显示图表
【问题讨论】:
-
请将您的示例复制为现场演示。
-
塞巴斯蒂安,请你查看我的网站aicapitals.cl/grafico
-
首先将Highcharts更新到4.0.4版本。那么问题出在您的
parsed方法上-您在控制台中有错误..columns[1] = $.map(columns[1] ... )-没有columns[1],只有columns[0]。
标签: javascript django highcharts django-templates