2
我跟着另一個問題的答案,並絕對確定jquery.jqplot.css已包含在內,但仍無法顯示顏色。我嘗試了很多rendereres(默認,酒吧,漏斗),並沒有一個工作。我甚至嘗試過使用增強的圖例渲染器無濟於事。圖例顏色不顯示
這是我用來呈現圖表的代碼。除了圖例外,所有內容都可以顯示
plot2 = $j.jqplot('chart_palnie', [serie], {
seriesDefaults: {
renderer:$j.jqplot.FunnelRenderer,
rendererOptions:{
sectionMargin: 8,
widthRatio: 0.3,
showDataLabels: true,
dataLabels: serie_labeluri,
dataLabelThreshold: 0
//dataLabelFormatString: '%s, %d'
}
},
legend: {
show:true,
location: 'e',
showLabels: true,
showSwatch: true
}
});
剛剛試了一下,沒有骰子。 – Bogdan
同樣在這裏......擁有完全相同的問題。 –