注意查看chart.html示例,和pdf帮助文件
注意meta标签,选择指定对应ejschart.js的位置,否则图像异常
4.10 META Tag Configuration
META tags must be included in the page header (between ), should be placed before
the tag which imports the EJSChart.js library and are formatted as follows:
The options described below affect the loading/initialization stage of the library.
ejsc-src-path
Specifies the base path of the EJSChart.js and other library files. Setting this option is sometimes
necessary when the library cannot find the tag in the page header due to dynamic loading
or inclusion in the of the page.
META "content" attribute: Path to directory containing EJSChart files, i.e. content="/EJSChart/"
1