맨위로가기
 

SBCHART

닫기

axis.x.zoom

#2.0.20

X축 줌 관련 값들을 설정합니다.
X축이 없는 원 계열(원, 도넛, 게이지) 차트와 Radar 차트는 해당되지 않습니다.

  • Type : Object
  • Format
    axis: {
      x: {
          zoom: {
              type: "drag",
              maxScale: 15,
              useScoll: true,
              scrollHeight: 30,
              scrollPosition: "top",
              scrollPaddingTop: 5,
              scrollPaddingleft: 10,
              initScale: 2,
              initValueX: 1.9,
              moveX: -20,
              moveY: -50,
              cornerRadius: 10,
          }
      }
    }
    

axis.x.zoom.type

#2.0.20

zoom type을 설정합니다. (현재 drag 한가지만 설정 가능합니다.)

  • Type : String
  • Default : "drag"

axis.x.zoom.maxScale

#2.0.20

zoom 배율을 설정합니다.

  • Type : Number
  • Default : 20

axis.x.zoom.useScoll

#2.0.126

zoom사용시 축의 이동을 위한 scroll을 설정합니다.

  • Type : Boolean
  • Default : false

axis.x.zoom.scrollHeight

#2.0.126

zoom사용시 scroll의 높이를 설정합니다.

  • Type : Number
  • Default : 20

axis.x.zoom.scrollPosition

#2.0.126

zoom사용시 scroll의 위치를 설정합니다.

  • Type : String
  • Default : "bottom"

axis.x.zoom.scrollPaddingTop

#2.0.126

zoom사용시 scroll의 배경과 scroll-bar간의 간격중 상단/하단 간격을 설정합니다.

  • Type : Number
  • Default : 3

axis.x.zoom.scrollPaddingLeft

#2.0.126

zoom사용시 scroll의 배경과 scroll-bar간의 간격중 좌/우 간격을 설정합니다.

  • Type : Number
  • Default : 0

axis.x.zoom.initScale

#2.0.126

zoom사용시 초기의 scale값을 설정합니다.

  • Type : Number
  • Default : 1

axis.x.zoom.initValueX

#2.0.126

zoom사용시 초기의 x축의 시작값을 설정합니다.

  • Type : Number

axis.x.zoom.moveX

#2.0.126

zoom사용시 scroll의 위치를 x축의 설정값만큼 이동합니다.

  • Type : Number
  • Default : 0

axis.x.zoom.moveY

#2.0.126

zoom사용시 scroll의 위치를 y축의 설정값만큼 이동합니다.

  • Type : Number
  • Default : 0

axis.x.zoom.cornerRadius

#2.0.126

zoom사용시 scroll의 모서리 모양을 둥글게 설정합니다.

  • Type : Number
  • Default : 0