我想用本地数据加载图表数据。
<sjc:chart
id="chartPlaceHolder"
cssStyle="width: 600px; height: 400px;"
pie="true"
pieLabel="true"
dataType="local"
/>
然后我使用(如Refresh/Reload Flot In Javascript中所述)
//This data is created dynamically from a grid when grid completed
var chartData= [
{ label: "Chrome", data: 36.3, color: "#89A54E"},
{ label: "Other", data: 0.8, color: "#3D96AE"}
];
var plot = $.plot($('#chartPlaceHolder'));
plot.setData(chartData);
plot.setupGrid();
plot.draw();
aB is undefined
我在 jquery API 中遇到了一些 jquery 异常
任何意见 ?!