呵呵,不要死磕着那个 demo 。 现在网络资源这么丰富,你可以 google 一下找到其他人的博客中对 jschart 的分享。 祝你好运。
我用了,遇到了和楼主一样的问题。用火狐运行报以下错误:错误: missing ) after argument list 源文件:file:///C:/Documents%20and%20Settings/Administrator/%D7%C0%C3%E6/Temp/JS-Charts_demo/sources/jscharts.js 行:27
错误: JSChart is not defined 源文件:file:///C:/Documents%20and%20Settings/Administrator/%D7%C0%C3%E6/Temp/JS-Charts_demo/examples/line-charts/example-1/index.html 行:15写信至帮助中心,回复如下:Hello, Thank you for your patience! If you are using IE6 and the charset is set to utf-8, please change that. If this is not your scenario, please let me know.Sincerely, Ovidiu Maritan郁闷啊!
现在网络资源这么丰富,你可以 google 一下找到其他人的博客中对 jschart 的分享。
祝你好运。
源文件:file:///C:/Documents%20and%20Settings/Administrator/%D7%C0%C3%E6/Temp/JS-Charts_demo/sources/jscharts.js
行:27
错误: JSChart is not defined
源文件:file:///C:/Documents%20and%20Settings/Administrator/%D7%C0%C3%E6/Temp/JS-Charts_demo/examples/line-charts/example-1/index.html
行:15写信至帮助中心,回复如下:Hello, Thank you for your patience!
If you are using IE6 and the charset is set to utf-8, please change that.
If this is not your scenario, please let me know.Sincerely,
Ovidiu Maritan郁闷啊!
你需要在页面上加上 <meta http-equiv="content-type" content="text/html;charset=utf-8"> 来指定页面编码。
IE的不同版本与 FF 要指定不同的编码: ff\ie7 charset = utf-8
ie6 charset = windows-1252