<script type="text/javascript">
window.onload = function() {
var rc = new html5jp.graph.radar("sample");
if( ! rc ) { return; }
var items = [
["剪刀", 5, 2, 4, 5, 3, 2, 4, 4],
["石头", 3, 4, 3, 4, 5, 4, 5, 1]
]; var params = {
aCap: ["1", "2", "3", "4", "5", "6", "7", "8"],
aMax: 6,
aMin: 0,
chartShape: "circle",
faceColors: ["green", "olive"],
aLinePositions: [0,1,2,3,4,5,6]
};
rc.draw(items, params);
};
</script>
</head>
<body>
<div><canvas width="400" height="300" id="sample"></canvas></div>
</body>就是我标注的那段代码 我想通过action那边接收过来
window.onload = function() {
var rc = new html5jp.graph.radar("sample");
if( ! rc ) { return; }
var items = [
["剪刀", 5, 2, 4, 5, 3, 2, 4, 4],
["石头", 3, 4, 3, 4, 5, 4, 5, 1]
]; var params = {
aCap: ["1", "2", "3", "4", "5", "6", "7", "8"],
aMax: 6,
aMin: 0,
chartShape: "circle",
faceColors: ["green", "olive"],
aLinePositions: [0,1,2,3,4,5,6]
};
rc.draw(items, params);
};
</script>
</head>
<body>
<div><canvas width="400" height="300" id="sample"></canvas></div>
</body>就是我标注的那段代码 我想通过action那边接收过来
解决方案 »
- 关于hibernate多对多的问题
- sql文件上传到tomcat并执行
- struts2中的Action中的值在jsp中得不到!急
- 急~~~~请各位大侠帮忙:关于JAVA Web Service 问题
- 使用Increment生成器和依靠HIBERNATE生成标识的问题
- 关于object is not an instance of declaring class的问题
- 【求助】谁能讲述一下什么叫“客户端与EJB容器运行在同一个JVM中”!?
- Java程序打包的时候如何将使用的其它Jar包也给打包进去
- jsp里怎样读取xml里指定接点的值
- jtable中怎么设置行标头,在线急救!
- java变量定义
- displaytag怎么对数字进行排序
或者直接通过url传过去也行,xxx.action?items=[xx,dd,ee]
然后从action中传数组到雷达图jsp页面的js方法里面
jsp里面没有表单 这怎么实现??