私はjqPlot
を実行していますが、何らかの理由で円のレンダラーの凡例に表示される色の四角が表示されません。私はそれがTwitterのブートストラップを使っているという事実と関係があるのだろうかと思っています。私は他のCSSライブラリを使用していません。jqPlot pieRenderer凡例の四角が表示されない
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