KendoUI の円グラフのサイズを小さくするにはどうすればよいですか? 次の構成を使用して円グラフを使用しています。マージンを 1 ピクセルに設定し、パディングを 1 ピクセルに設定しましたが、円グラフのレンダリング方法には影響がないようです。タイトルはありませんが、タイトルのスペースはまだあります。グラフの上部と、凡例と実際のグラフの間のスペースを縮小できるようにしたいと考えています。
私の構成:
jQuery("#chart").kendoChart({
// theme: jQuery(document).data("kendoSkin") || "Metro",
legend: {
position: "bottom",
padding: 1,
margin: 1
},
seriesDefaults: {
labels: {
visible: true,
template: "${ value }%"
}
},
dataSource: {
data: <%=ChartData%>
},
series: [{
type: "pie",
field: "percentage",
categoryField: "source",
explodeField: "explode"
}],
tooltip: {
visible: false,
template: "${ category } - ${ value }%"
},
title: { padding: 1, margin: 1 },
seriesColors: ["#d15400", "#19277e", "#e2935e", "#d2d2d2"],
chartArea: { margin: 1 },
plotArea: { margin: 1 }
});