margin (title properties)

제목(부제목이 있으면 부제목)과 그래프 영역 사이의 간격(px)을 설정합니다.

Info

name type required(default) description
margin number 선택(15) 제목(부제목이 있으면 부제목)과 그래프 영역 사이의 간격(px)을 설정합니다.

Example

myChart.setOptions({
  chart: {
    type: "column"
  },
  title: {
    text: "지역별 매출",
    margin: 50  // 제목과 그래프 사이 50px
  },
  series: [{
    name: "서울",
    data: [60, 40, 20, 80]
  }, {
    name: "인천",
    data: [30, 50, 90, 70]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0