8
jqPlot pieRenderer传奇广场我正在jqPlot
出于某种原因,颜色编码的方块应该显示出来的馅饼渲染的传奇里面没有出现。我想知道它是否与我使用twitter bootstrap的事实有关?我没有使用任何其他的CSS库。没有显示
var plot1 = jQuery.jqplot('chartdiv', [graphData],
{
grid: {
shadow: false,
background: '#FFFFFF',
},
seriesDefaults: {
// Make this a pie chart.
renderer: jQuery.jqplot.PieRenderer,
rendererOptions: {
// Put data labels on the pie slices.
// By default, labels show the percentage of the slice.
showDataLabels: true,
padding: 20,
startAngle: 270
}
},
legend: {
show: true,
location: 'e',
fontSize: 11,
marginTop: 10,
}
});
万分感谢!就是这样。 –
非常感谢!这样做了,我的图形看起来好多了! – Lukas
工作就像一个魅力...... – Gowri