API
BubbleScaleOptions

BubbleScaleOptions extends ScaleOptions

버블,파이 시리즈의 데이터포인트 값에 따라 설정되는 원 크기를 몇 단계로 나누어 원 크기와 값 사이의 관계를 개략적으로 표시한다.

Options

align: Align

수평 배치.
지정하지 않을 때의 기본값은 location'body'이면 'left', 'left''right'이면 'center'이다.

  • 'center' 영역 가운데로 정렬한다.
  • 'left' 왼쪽으로 정렬한다.
  • 'right' 오른쪽으로 정렬한다.

default :undefined

background: MapWidgetBackgroundOptions

범례나 scale의 배경 설정 옵션.

default :undefined

footer: MapWidgetCaptionOptions

범례나 scale의 footer 설정 옵션.

default :undefined

group: string (opens in a new tab)

이 위젯이 표시될 위젯 그룹 이름.
그룹에 포함되지 않은 위젯은 location 설정에 따라 위젯 섹션이나 body 영역에 표시된다.

default :undefined

location: ChartItemLocation

범례나 scale 표시 위치.

  • 'body' 맵차트 본체 영역 내부에 표시한다.
  • 'bottom' 맵차트 본체 아래 표시한다.
  • 'left' 맵차트 본체 왼쪽에 표시한다.
  • 'right' 맵차트 본체 오른쪽에 표시한다.
  • 'top' 맵차트 타이틀 아래 표시한다.

default :'bottom'

name: string (opens in a new tab)

시리즈에서 참조하는 범례나 스케일 이름.

default :undefined

offsetX: number (opens in a new tab)

범례 또는 scale과 (location이 body일 때)body 또는 맵차트 경계 사이의 수평 간격.

default :0

offsetY: number (opens in a new tab)

범례 또는 scale과 (location이 body일 때)body 또는 맵차트 경계 사이의 수직 간격.

default :0

order: number (opens in a new tab)

그룹 내에서 배치 순서.
값을 지정하지 않거나 잘못 지정하면 마지막에 배치된다.

default :undefined

series: string (opens in a new tab) | number (opens in a new tab)

minValuemaxValue를 지정하지 않는 경우 범위 기준값을 계산할 시리즈의 이름이나 index.
이 속성을 지정하지 않으면 첫 번째 map 시리즈의 범위를 계산한다.

default :undefined

stepCount: number (opens in a new tab)

steps를 지정하지 않을 때 자동으로 만들 단계 개수.
시리즈의 최소값과 최대값을 양 끝으로 두고 그 사이를 균등하게 나눈다. 가운데 값은 간격의 자릿수에 맞춰 반올림한다. 시리즈의 값 범위를 알 수 없으면(bubble 시리즈가 없거나 데이터가 없는 경우) 단계를 만들지 않는다. steps가 지정되면 이 속성은 무시된다.

default :3

steps: Array (opens in a new tab)<number (opens in a new tab) | BubbleScaleStep>

범례에 표시할 단계 목록.
숫자로 지정하면 그 값이 단계의 기준 값이 되고, value와 label을 가진 객체로 지정하면 label도 함께 정할 수 있다. 이 속성을 지정하면 stepCount는 무시된다. 지정하지 않으면 시리즈의 값 범위를 stepCount 개로 균등하게 나눠 단계를 만든다.

default :undefined

style: SVGStyleOrClass

스타일셋 혹은 class selector.

default :undefined

title: MapWidgetCaptionOptions

범례나 scale의 타이틀 설정 옵션.

default :undefined

verticalAlign: VerticalAlign

수직 배치.
지정하지 않을 때의 기본값은 location'body'이면 'top', 'top'이나 'bottom'이면 'middle'이다.

  • 'bottom'
  • 'middle'
  • 'top'

default :undefined

visible: boolean (opens in a new tab)

표시 여부.

default :true