title

#2.0.0


제목의 내용이나 위치 등을 지정합니다.

  • Type : Object

  • Format

    title: {
      text: "시도별 주택가격 변동률",
      position: "top-center",
      padding: {
          top: 10, 
          right: 10, 
          bottom: 10, 
          left: 10
      }
    }
    

title.text

#2.0.0

제목을 지정합니다. 공백일 경우 제목이 차트에 표현되지 않습니다.

  • Type : String

title.position

#2.0.0

제목의 위치를 지정합니다

  • Type : String

  • Default : “top-center”

  • Values

    • top-center: Default 상단-가운데에 위치
    • top-right: 상단-우측에 위치
    • top-left: 상단-좌측에 위치

title.padding

#2.0.0

제목의 padding을 지정합니다.

title.position = "top-right" 인 경우는 padding.left 값을, title.position = "top-left" 인 경우는 padding.right 값을 사용하지 않습니다.

  • Type : Object

  • Format

    title: {
      padding: { 
          top: 10, 
          right: 10, 
          bottom: 10, 
          left: 10
      }
    }