layout이 horizontal(수평) 일 때 범례 항목의 아이템 별 간격을 설정합니다.
name | type | required (default) | description |
---|---|---|---|
itemDistance | number |
선택(20) | 범례 항목의 아이템 별 간격 설정 |
myChart.setOptions({
chart: {
type: "column"
},
legend: {
layout: "horizontal",
itemDistance: 50 // 범례 항목의 아이템 별 간격 설정
},
series: [{
name: "서울",
data : [60,40,20,80]
},{
name: "인천",
data : [30,50,90,70]
},{
name: "부산",
data : [40,70,30,60]
}]
}, {
append: true,
redraw: true
});
version | desc |
---|---|
7.3.0.0 |