【问题标题】:highcharts drilldown not run on django,highcharts 钻取不在 django 上运行,
【发布时间】: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


【解决方案1】:

我创建了一个新文件 html 并粘贴了代码,它运行了!我不知道怎么做(代码是一样的)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多