我正在尝试修改 activemq webapp 以使用 highcharts 动态可视化数据。特别是,以下代码在chart1.js 进行基本的highchart 线绘制时工作正常。一旦我取消注释 amq.js,图表就会停止显示。这是一个已知问题?
<html>
<body>
<!-- <script src="C:/progress/fuse-message-broker-5.3.0.1/webapps/demo/Highcharts-3.0.6/js/highcharts.js"></script> -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://code.highcharts.com/highcharts.js"/>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
<script type="text/javascript" src="chart1.js"></script>
<!--- <script type="text/javascript" src="../amq/amq.js"></script>
<script type="text/javascript">amq.uri='../amq';</script>
--->
</body>
</html>
谢谢