我是 Shield UI Chart 的新手,正在尝试让我的条形图逐渐显示,但它不起作用。尝试使用此代码时,即使是图表也不会加载:
<script type="text/javascript"> $(function () { $("#chart").shieldChart({
applyAnimation: true
{
duration: 1500
},
axisY: {
title: {
text: "Axis y values"
}
},
primaryHeader: {
text: "Sample statistics"
},
dataSeries: [{ seriesType: 'bar',
collectionAlias: 'Series A',
data: [129,258,245,458,455]
}, {
seriesType: 'bar',
collectionAlias: 'Series B',
data: [325,254,145,478,588]
}]
});
});
</script>