0
我有一个CoffeeScript的:不同页面上的多个HighCharts
chart = undefined
$ ->
chart = new Highcharts.Chart(
chart:
renderTo: "sales "
type: "line"
......
chart1 = undefined
$ ->
chart1 = new Highcharts.Chart(
chart:
renderTo: "graph"
type: "line"
.....
<div id="sales" style="min-width: 400px; height: 400px; margin: 0 auto"></div>
<div id="graph" style="min-width: 400px; height: 400px; margin: 0 auto"></div>
这两者是否工作正常div在同一个html页面上,但是如果我在不同的页面上共享每个div,则不会。 我看不到一个理由..为什么
他基本的想法是在不同的页面上显示不同的折线图。
有什么想法?
谢谢...的信息.. – Werner
@Werner所以所有的作品? –