floating (subtitle properties)

부제목을 그래프 위에 겹쳐 표시할지 설정합니다.
true이면 부제목 공간을 따로 비우지 않습니다. 위치는 x, y로 조정합니다.

Info

name type required(default) description
floating boolean 선택(false) 부제목을 그래프 위에 겹쳐 표시할지 설정합니다.

Example

myChart.setOptions({
  chart: {
    type: "column"
  },
  title: {
    text: "지역별 매출"
  },
  subtitle: {
    text: "단위: 억원",
    floating: true,  // 그래프 위에 겹쳐 표시
    align: "right",
    y: 40
  },
  series: [{
    name: "서울",
    data: [60, 40, 20, 80]
  }, {
    name: "인천",
    data: [30, 50, 90, 70]
  }]
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0