<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那边接收过来