标签:
<link rel="stylesheet" type="text/css" href="../../css/jquery.jqChart.css" /> <link rel="stylesheet" type="text/css" href="../../css/jquery.jqRangeSlider.css" /> <link rel="stylesheet" type="text/css" href="../../themes/smoothness/jquery-ui-1.10.4.css" /> <script src="../../js/jquery-1.11.1.min.js" type="text/javascript"></script> <script src="../../js/jquery.mousewheel.js" type="text/javascript"></script> <script src="../../js/jquery.jqChart.min.js" type="text/javascript"></script> <script src="../../js/jquery.jqRangeSlider.min.js" type="text/javascript"></script> $(document).ready(function () { $(‘#jqChart‘).jqChart({ title: { text: ‘投票信息统计‘ }, axes: [ { type: ‘category‘, location: ‘bottom‘, zoomEnabled: true } ], series: [ { title:‘信息量‘, type: ‘column‘, data: [ <s:iterator value="voteCountList" id="obj" status="st"> <s:if test="%{#st.index>0}"> , </s:if> [‘<s:property value="infoName"/>‘, <s:property value="ticketNum"/>] </s:iterator> ] }, ] }); }); <div id="jqChart" style="width: 99%; height: 300px;"> </div>
标签:
原文地址:http://www.cnblogs.com/a757956132/p/4560159.html