Closed ianliu0420 closed 8 years ago
It seems that annotation.js has some conflicts with the latest highstock.js (version 2.1.10 http://code.highcharts.com/stock/2.1.10/highstock.js)
annotation.js works well with the previous version, say for example version 2.1.9 http://code.highcharts.com/stock/2.1.9/highstock.js
The plugin was working. But these two days, I got this error even running a very basic demo. The detail of the error is:
Uncaught ReferenceError: HighchartsAdapter is not defined(anonymous function) @ annotations.js:1102
Here are the codes:
test.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
head
test.js
$(document).ready( function() {