style (subtitle properties)

부제목의 스타일을 설정합니다.

Info

name type required (default) description
style.color string 선택 폰트 색상
style.fontSize string 선택 폰트 크기
style.fontWeight string 선택 폰트 두께

Example

myChart.setOptions({
  title: {  // title 설정
    text: "cc별 중고자동차 판매량"
  },
  subtitle: {  // subtitle 설정
    text: "2014년 1/4분기",
    style: {
      color: "red",
      fontSize: "1.2em",
      fontWeight: "bold"
    }
  }
}, {
  append: true,
  redraw: true
});

제공 버전

version desc
7.3.0.0