Histogram

인코딩 매핑

히스토그램은 다음 시각 채널을 지원합니다:

xAxis : x축 채널, 하나의 차원을 지원하며 차원 값을 구간화한 뒤 x축에 표시합니다

설명

히스토그램은 데이터 분포를 표시하는 데 적합합니다. x축은 숫자 축(연속 데이터), y축도 숫자 축(연속 데이터)이며 막대는 세로로 배열됩니다.

적용 시나리오:

- 빈도 분포, 확률 분포 등 데이터 분포 표시

- 데이터의 중심 경향과 분산 정도 분석

- 데이터의 이상치와 패턴 식별

chartType

Type: "histogram"

설명

히스토그램으로, 데이터 분포를 표시하는 데 적합합니다

dataset

Type: Record[]

설명

TidyData 규격을 따르는 집계된 데이터셋으로, 차트의 데이터 소스와 구조를 정의합니다. 사용자가 입력한 데이터셋은 별도 전처리가 필요 없습니다. VSeed는 강력한 데이터 리셰이프 기능을 갖추고 있어 데이터 재구성을 자동으로 수행하며, 컬럼 차트 데이터는 최종적으로 2개의 차원과 1개의 지표로 변환됩니다.

예시 [{category:'A', value:100}, {category:'B', value:200}]

dimensions

Type: HistogramDimension[] | undefined

설명

히스토그램은 일반적으로 차원이 필요하지 않습니다

예시 [{id: "category", alias: "카테고리"}]

id

Type: string

설명

차원에 대응하는 필드 ID

alias

Type: string | undefined

설명

차원 별칭

timeFormat

Type: TimeFormat | undefined

설명

차원 날짜 형식 설정

type

Type: "year" | "quarter" | "month" | "week" | "day" | "hour" | "minute" | "second"

설명

시간 단위, 날짜 표시 정밀도를 결정합니다

encoding

Type: "tooltip" | "label" | "row" | "column" | undefined

설명

차원이 매핑되는 채널

- color: 여러 차원을 색상 채널에 매핑할 수 있습니다

- detail: 여러 차원을 상세 채널에 매핑할 수 있습니다

- tooltip: 여러 차원을 툴팁 채널에 매핑할 수 있습니다

- label: 여러 차원을 레이블 채널에 매핑할 수 있습니다

- row: 여러 차원을 행 채널에 매핑할 수 있습니다

- column: 여러 차원을 열 채널에 매핑할 수 있습니다

measures

Type: HistogramMeasure[] | undefined

설명

히스토그램은 하나의 차원만 지원하며 데이터는 이산 데이터입니다

예시 [{id: "value", alias: "값"}]

id

Type: string

설명

지표 ID이며 중복될 수 없습니다

alias

Type: string | undefined

설명

Measure 별칭, 중복을 허용합니다. 설정하지 않으면 alias 는 id 입니다

autoFormat

Type: boolean | undefined

설명

자동 숫자 형식화, 기본적으로 활성화되며 우선순위가 가장 높습니다

autoFormat=true이면 모든 numFormat 설정을 덮어씁니다

활성화하면 차트 데이터 레이블과 툴팁이 지표 값과 locale에 따라 적절한 형식을 자동으로 선택합니다

형식화 규칙: compact notation이 활성화된 10진수, 소수 자릿수 최소 0자리 및 최대 2자리, 자동 반올림, 브라우저의 Intl.NumberFormat 구현 사용

예:

- locale=zh-CN: 749740.264 → 74.45万

- locale=en-US: 749740.264 → 744.5K

numFormat

Type: NumFormat | undefined

설명

지표의 사용자 지정 숫자 형식화이며 label과 tooltip에 자동 적용됩니다

참고: 사용자 지정 형식을 사용하려면 autoFormat=false를 명시적으로 설정해야 합니다. 그렇지 않으면 autoFormat이 이 설정을 덮어씁니다

type

Type: "number" | "percent" | "permille" | "scientific" | undefined

설명

숫자 형식 유형, 지원: number(10진수), percent(%), permille(‰), 과학적 표기법

ratio

Type: number | undefined

설명

숫자 형식 비율, 0일 수 없습니다

예시 - 100000은 10万으로 변환, ratio:10000, symbol:"万" - 100000은 10K로 변환, ratio:1000, symbol:"K"

symbol

Type: string | undefined

설명

숫자 형식 기호, 예: %, ‰

예시 - 100000은 10万으로 변환, ratio:10000, symbol:"万" - 100000은 10K로 변환, ratio:1000, symbol:"K"

thousandSeparator

Type: boolean | undefined

설명

숫자 형식의 천 단위 구분자

suffix

Type: string | undefined

설명

숫자 형식 접미사

prefix

Type: string | undefined

설명

숫자 형식 접두사

fractionDigits

Type: number | undefined

설명

숫자 형식의 소수 자릿수, 브라우저 Intl.NumberFormat의 minimumFractionDigits 및 maximumFractionDigits를 사용합니다. significantDigits보다 우선순위가 낮습니다

예시 - 1234.5678은 1235로 변환됩니다, fractionDigits:0 (roundingMode:halfCeil) - 1234.5678은 1234.6으로 변환됩니다, fractionDigits:1 (roundingMode:halfCeil) - 1234.5678은 1234.57로 변환됩니다, fractionDigits:2 (roundingMode:halfCeil) - 1234.5678은 1230.568로 변환됩니다, fractionDigits:3 (roundingMode:halfCeil) - 1234.5678은 1234.5678로 변환됩니다, fractionDigits:4 (roundingMode:halfCeil) - 1234.5678은 1234.56780으로 변환됩니다, fractionDigits:5 (roundingMode:halfCeil)

significantDigits

Type: number | undefined

설명

숫자 형식의 유효 숫자, 브라우저 Intl.NumberFormat의 minimumSignificantDigits 및 maximumSignificantDigits를 사용합니다. fractionDigits보다 우선순위가 높습니다

예시 - 1234.5678은 1000으로 변환됩니다, significantDigits:1 - 1234.5678은 1200으로 변환됩니다, significantDigits:2 - 1234.5678은 1230으로 변환됩니다, significantDigits:3 - 1234.5678은 1234로 변환됩니다, significantDigits:4 - 1234.5678은 1234.6으로 변환됩니다, significantDigits:5 (roundingMode:halfCeil) - 1234.5678은 1234.57로 변환됩니다, significantDigits:6 (roundingMode:halfCeil) - 1234.5678은 1234.568로 변환됩니다, significantDigits:7 (roundingMode:halfCeil) - 1234.5678은 1234.5678로 변환됩니다, significantDigits:8 (roundingMode:halfCeil)

roundingPriority

Type: "morePrecision" | "lessPrecision" | undefined

설명

significantDigits와 fractionDigits가 모두 설정된 경우의 숫자 형식 반올림 우선순위입니다. 브라우저 Intl.NumberFormat을 사용하며 Intl.NumberFormat의 roundingPriority와 동일한 규칙을 따릅니다

예시 - 1234.5678은 1230으로 변환됩니다, significantDigits:3 (roundingPriority:lessPrecision) - 1234.5678은 1234.5678로 변환됩니다, significantDigits:3 (roundingPriority:morePrecision)

roundingMode

Type: "floor" | "ceil" | "expand" | "trunc" | "halfCeil" | "halfFloor" | "halfExpand" | "halfTrunc" | "halfEven" | undefined

설명

숫자 형식의 반올림 모드, 브라우저 Intl.NumberFormat을 사용하며 Intl.NumberFormat의 roundingMode와 동일한 규칙을 따릅니다

format

Type: NumFormat | undefined

type

Type: "number" | "percent" | "permille" | "scientific" | undefined

설명

숫자 형식 유형, 지원: number(10진수), percent(%), permille(‰), 과학적 표기법

ratio

Type: number | undefined

설명

숫자 형식 비율, 0일 수 없습니다

예시 - 100000은 10万으로 변환, ratio:10000, symbol:"万" - 100000은 10K로 변환, ratio:1000, symbol:"K"

symbol

Type: string | undefined

설명

숫자 형식 기호, 예: %, ‰

예시 - 100000은 10万으로 변환, ratio:10000, symbol:"万" - 100000은 10K로 변환, ratio:1000, symbol:"K"

thousandSeparator

Type: boolean | undefined

설명

숫자 형식의 천 단위 구분자

suffix

Type: string | undefined

설명

숫자 형식 접미사

prefix

Type: string | undefined

설명

숫자 형식 접두사

fractionDigits

Type: number | undefined

설명

숫자 형식의 소수 자릿수, 브라우저 Intl.NumberFormat의 minimumFractionDigits 및 maximumFractionDigits를 사용합니다. significantDigits보다 우선순위가 낮습니다

예시 - 1234.5678은 1235로 변환됩니다, fractionDigits:0 (roundingMode:halfCeil) - 1234.5678은 1234.6으로 변환됩니다, fractionDigits:1 (roundingMode:halfCeil) - 1234.5678은 1234.57로 변환됩니다, fractionDigits:2 (roundingMode:halfCeil) - 1234.5678은 1230.568로 변환됩니다, fractionDigits:3 (roundingMode:halfCeil) - 1234.5678은 1234.5678로 변환됩니다, fractionDigits:4 (roundingMode:halfCeil) - 1234.5678은 1234.56780으로 변환됩니다, fractionDigits:5 (roundingMode:halfCeil)

significantDigits

Type: number | undefined

설명

숫자 형식의 유효 숫자, 브라우저 Intl.NumberFormat의 minimumSignificantDigits 및 maximumSignificantDigits를 사용합니다. fractionDigits보다 우선순위가 높습니다

예시 - 1234.5678은 1000으로 변환됩니다, significantDigits:1 - 1234.5678은 1200으로 변환됩니다, significantDigits:2 - 1234.5678은 1230으로 변환됩니다, significantDigits:3 - 1234.5678은 1234로 변환됩니다, significantDigits:4 - 1234.5678은 1234.6으로 변환됩니다, significantDigits:5 (roundingMode:halfCeil) - 1234.5678은 1234.57로 변환됩니다, significantDigits:6 (roundingMode:halfCeil) - 1234.5678은 1234.568로 변환됩니다, significantDigits:7 (roundingMode:halfCeil) - 1234.5678은 1234.5678로 변환됩니다, significantDigits:8 (roundingMode:halfCeil)

roundingPriority

Type: "morePrecision" | "lessPrecision" | undefined

설명

significantDigits와 fractionDigits가 모두 설정된 경우의 숫자 형식 반올림 우선순위입니다. 브라우저 Intl.NumberFormat을 사용하며 Intl.NumberFormat의 roundingPriority와 동일한 규칙을 따릅니다

예시 - 1234.5678은 1230으로 변환됩니다, significantDigits:3 (roundingPriority:lessPrecision) - 1234.5678은 1234.5678로 변환됩니다, significantDigits:3 (roundingPriority:morePrecision)

roundingMode

Type: "floor" | "ceil" | "expand" | "trunc" | "halfCeil" | "halfFloor" | "halfExpand" | "halfTrunc" | "halfEven" | undefined

설명

숫자 형식의 반올림 모드, 브라우저 Intl.NumberFormat을 사용하며 Intl.NumberFormat의 roundingMode와 동일한 규칙을 따릅니다

encoding

Type: "value" | "color" | "tooltip" | "label" | "x0" | "x1" | undefined

설명

지표가 매핑되는 채널

- value: 히스토그램의 값 채널

- x0: 히스토그램의 x0 채널

- x1: 히스토그램의 x1 채널

- color: 지표를 색상 채널에 매핑합니다

- label: 지표를 레이블 채널에 매핑

- tooltip: 지표를 툴팁 채널에 매핑

parentId

Type: string | undefined

설명

평면 지표 설정 형식에서 트리형 지표 그룹을 구성합니다. parentId는 부모 지표 그룹의 id를 가리키며 지표 트리를 구성하는 데 사용됩니다

Tip

지표 트리를 설정하는 방법은 두 가지입니다. 옵션 1은 children이 있는 지표 트리를 직접 설정하는 방식이고, 옵션 2는 parentId가 있는 평면 지표 목록을 설정하는 방식입니다. 두 방식은 동시에 사용할 수 없습니다

page

Type: Page | undefined

설명

페이지네이션 설정으로, 페이지네이션 필드명을 지정하는 데 사용되며 해당 필드는 dimension이어야 합니다.

field

Type: string

설명

페이지네이션 필드; 페이지네이션에 사용할 필드 이름을 지정하며 반드시 차원이어야 합니다

currentValue

Type: string

설명

현재 페이지네이션 값; 현재 페이지를 결정하는 데 사용할 값을 지정합니다

예시 '2023-01-01'

backgroundColor

Type: BackgroundColor

설명

차트의 배경색입니다. 배경색은 색상 문자열로 지정할 수 있으며 기본값은 투명 배경입니다. 예: 'red', 'blue'. '#ff0000', 'rgba(255,0,0,0.5)' 같은 hex, rgb, rgba도 지원합니다.

color

Type: Color | undefined

설명

색상 목록, 색상 매핑, 색상 그라데이션을 포함해 차트의 색상 체계를 정의하는 색상 설정입니다.

colorScheme

Type: string[] | undefined

설명

차트의 서로 다른 요소 색상을 정의하는 이산 색상 체계

예시 ['#FFCDD2,#F8BBD0,#E1BEE7,#D1C4E9,#C5CAE9,#BBDEFB,#B3E5FC,#B2EBF2,#B2DFDB,#C8E6C9,#DCEDC8,#F0F4C3,#FFF9C4,#FFECB3,#FFE0B2']

linearColorScheme

Type: string[] | undefined

설명

차트의 서로 다른 요소 색상을 정의하는 선형 그라데이션 색상 체계

예시 ['#FFCDD2, #F8BBD0]

colorMapping

Type: Record<string, string> | undefined

설명

데이터 값을 특정 색상에 매핑하는 색상 매핑

예시 { 'sales': 'blue', } }

positiveColor

Type: string | undefined

설명

양수/음수 색상 설정; 차트에서 양수 값의 색상을 정의합니다

negativeColor

Type: string | undefined

설명

양수/음수 색상 설정; 차트에서 음수 값의 색상을 정의합니다

label

Type: Label | undefined

설명

위치, 형식, 스타일을 포함해 차트 데이터 레이블을 정의하는 레이블 설정입니다.

enable

Type: false | true

설명

레이블 기능 활성화 여부

wrap

Type: boolean | undefined

설명

레이블을 다음 줄로 줄바꿈할지 여부

showValue

Type: boolean | undefined

설명

레이블에 지표 값을 표시할지 여부

다중 지표 시나리오에서는 값 충돌을 걱정할 필요가 없습니다. 플롯 관련 모든 지표는 foldMeasures 처리를 거쳐 단일 데이터 포인트를 나타내는 하나의 지표로 병합됩니다

참고: encoding의 label 우선순위가 더 높으므로 이 설정은 encoding의 label에 영향을 주지 않습니다

showValuePercent

Type: boolean | undefined

설명

레이블에 지표 값의 백분율을 표시할지 여부

다중 지표 시나리오에서는 값 충돌을 걱정할 필요가 없습니다. 플롯 관련 모든 지표는 foldMeasures 처리를 거쳐 단일 데이터 포인트를 나타내는 하나의 지표로 병합됩니다

참고: encoding의 label 우선순위가 더 높으므로 이 설정은 encoding의 label에 영향을 주지 않습니다

showDimension

Type: boolean | undefined

설명

레이블에 차원 레이블을 표시할지 여부

모든 차원 레이블 표시

참고: encoding의 label 우선순위가 더 높으므로 이 설정은 encoding의 label에 영향을 주지 않습니다

autoFormat

Type: boolean | undefined

설명

레이블 값을 자동 형식화할지 여부. autoFormat이 true이면 numFormat 설정은 무시됩니다

numFormat

Type: NumFormat | undefined

설명

레이블 값 형식 설정입니다. measureformat과 병합되며, measureformat 우선순위가 더 높습니다. numFormat 우선순위는 autoFormat보다 낮습니다

type

Type: "number" | "percent" | "permille" | "scientific" | undefined

설명

숫자 형식 유형, 지원: number(10진수), percent(%), permille(‰), 과학적 표기법

ratio

Type: number | undefined

설명

숫자 형식 비율, 0일 수 없습니다

예시 - 100000은 10万으로 변환, ratio:10000, symbol:"万" - 100000은 10K로 변환, ratio:1000, symbol:"K"

symbol

Type: string | undefined

설명

숫자 형식 기호, 예: %, ‰

예시 - 100000은 10万으로 변환, ratio:10000, symbol:"万" - 100000은 10K로 변환, ratio:1000, symbol:"K"

thousandSeparator

Type: boolean | undefined

설명

숫자 형식의 천 단위 구분자

suffix

Type: string | undefined

설명

숫자 형식 접미사

prefix

Type: string | undefined

설명

숫자 형식 접두사

fractionDigits

Type: number | undefined

설명

숫자 형식의 소수 자릿수, 브라우저 Intl.NumberFormat의 minimumFractionDigits 및 maximumFractionDigits를 사용합니다. significantDigits보다 우선순위가 낮습니다

예시 - 1234.5678은 1235로 변환됩니다, fractionDigits:0 (roundingMode:halfCeil) - 1234.5678은 1234.6으로 변환됩니다, fractionDigits:1 (roundingMode:halfCeil) - 1234.5678은 1234.57로 변환됩니다, fractionDigits:2 (roundingMode:halfCeil) - 1234.5678은 1230.568로 변환됩니다, fractionDigits:3 (roundingMode:halfCeil) - 1234.5678은 1234.5678로 변환됩니다, fractionDigits:4 (roundingMode:halfCeil) - 1234.5678은 1234.56780으로 변환됩니다, fractionDigits:5 (roundingMode:halfCeil)

significantDigits

Type: number | undefined

설명

숫자 형식의 유효 숫자, 브라우저 Intl.NumberFormat의 minimumSignificantDigits 및 maximumSignificantDigits를 사용합니다. fractionDigits보다 우선순위가 높습니다

예시 - 1234.5678은 1000으로 변환됩니다, significantDigits:1 - 1234.5678은 1200으로 변환됩니다, significantDigits:2 - 1234.5678은 1230으로 변환됩니다, significantDigits:3 - 1234.5678은 1234로 변환됩니다, significantDigits:4 - 1234.5678은 1234.6으로 변환됩니다, significantDigits:5 (roundingMode:halfCeil) - 1234.5678은 1234.57로 변환됩니다, significantDigits:6 (roundingMode:halfCeil) - 1234.5678은 1234.568로 변환됩니다, significantDigits:7 (roundingMode:halfCeil) - 1234.5678은 1234.5678로 변환됩니다, significantDigits:8 (roundingMode:halfCeil)

roundingPriority

Type: "morePrecision" | "lessPrecision" | undefined

설명

significantDigits와 fractionDigits가 모두 설정된 경우의 숫자 형식 반올림 우선순위입니다. 브라우저 Intl.NumberFormat을 사용하며 Intl.NumberFormat의 roundingPriority와 동일한 규칙을 따릅니다

예시 - 1234.5678은 1230으로 변환됩니다, significantDigits:3 (roundingPriority:lessPrecision) - 1234.5678은 1234.5678로 변환됩니다, significantDigits:3 (roundingPriority:morePrecision)

roundingMode

Type: "floor" | "ceil" | "expand" | "trunc" | "halfCeil" | "halfFloor" | "halfExpand" | "halfTrunc" | "halfEven" | undefined

설명

숫자 형식의 반올림 모드, 브라우저 Intl.NumberFormat을 사용하며 Intl.NumberFormat의 roundingMode와 동일한 규칙을 따릅니다

labelFontSize

Type: number | undefined

설명

레이블 글꼴 크기

labelFontWeight

Type: string | number | undefined

설명

레이블 글꼴 두께

labelBackgroundColor

Type: string | undefined

설명

레이블 배경색

labelStroke

Type: string | undefined

설명

레이블 테두리 색상

labelColor

Type: string | undefined

설명

레이블 글꼴 색상

labelColorSmartInvert

Type: boolean | undefined

설명

요소 색상에 따라 글꼴 색상을 자동 반전할지 여부

labelPosition

Type: "inside" | "outside" | undefined

설명

레이블 위치

labelOverlap

Type: boolean | undefined

설명

레이블 겹침 방지 기능 활성화 여부

selector

Type: Selector | Selectors | undefined

설명

레이블 필터링, selector 간 기본 관계는 Or입니다

field

Type: string

설명

차원 필드, 차원 항목의 ID

operator

Type: "in" | "not in" | undefined

설명

연산자

- in: 차원 필드 값이 value에 포함되는 데이터 항목을 선택합니다

- not in: 차원 필드 값이 value에 포함되지 않는 데이터 항목을 선택합니다

op

Type: "in" | "not in" | undefined

설명

연산자

- in: 차원 필드 값이 value에 포함되는 데이터 항목을 선택합니다

- not in: 차원 필드 값이 value에 포함되지 않는 데이터 항목을 선택합니다

operator와 동일

value

Type: string | number | (string | number)[]

설명

차원 필드 값, 배열을 지원합니다

dynamicFilter

Type: ChartDynamicFilter | undefined

설명

애니메이션 필터(AI 생성 코드 실행)

AI 생성 JavaScript 코드로 복잡한 데이터 필터링 로직을 구현합니다

핵심 기능:

- 임의의 복잡한 데이터 필터링 조건 지원

- 데이터 작업용 내장 유틸리티 함수 사용

- 브라우저 환경(Web Worker 샌드박스)에서 안전하게 실행

환경 요구 사항: 브라우저 환경만 지원하며 Node.js 환경에서는 fallback을 사용합니다

참고: selector와 dynamicFilter는 동시에 사용할 수 없습니다. dynamicFilter의 우선순위가 더 높습니다

차트 애니메이션 필터 설정

AI 생성 JavaScript 코드로 차트 마커(막대, 점 등)를 필터링합니다

type

Type: "row-with-field"

description

Type: string | undefined

설명

사용자의 필터링 요구 설명(자연어)

예시 "Highlight bars whose sales are greater than 1000"

"Highlight the bar with the highest profit rate in each region"

code

Type: string

설명

AI 생성 JavaScript 필터링 코드

- 내장 유틸리티 함수(_ 또는 R을 통해 접근)만 사용할 수 있습니다

- 입력 파라미터: data(배열), 각 항목에는 행 번호를 나타내는 __row_index 필드가 포함됩니다

- 행 인덱스와 필드 조합의 배열을 반환해야 합니다: Array<{ __row_index: number, field: string }>

- __row_index는 원본 데이터 항목의 행 번호를 나타내고, field는 강조할 필드를 나타냅니다

- 금지: eval, Function, 비동기 작업, DOM API, 네트워크 요청

예시 sales가 1000보다 큰 데이터 항목의 sales 필드를 강조합니다

const filtered = _.filter(data, item => item.sales > 1000);
return _.map(filtered, item => ({
__row_index: item.__row_index,
field: 'sales'
}));

각 영역에서 이익률이 가장 높은 데이터 항목을 강조합니다

const grouped = _.groupBy(data, 'area');
const maxItems = _.map(grouped, group =>
_.maxBy(group, item => item.profit / item.sales)
);
return _.flatten(
_.map(maxItems, item => [
{ __row_index: item.__row_index, field: 'product' },
{ __row_index: item.__row_index, field: 'profit' }
])
);

다중 조건 필터링으로 데이터 항목을 강조합니다

const filtered = _.filter(data, item => {
const profitRate = item.profit / item.sales;
return profitRate > 0.2 && item.sales > 5000;
});
return _.flatten(
_.map(filtered, item => [
{ __row_index: item.__row_index, field: 'product' },
{ __row_index: item.__row_index, field: 'sales' }
])
);

fallback

Type: Selector | Selectors | undefined

설명

코드 실행 실패 또는 환경 미지원 시 fallback 솔루션

field

Type: string

설명

차원 필드, 차원 항목의 ID

operator

Type: "in" | "not in" | undefined

설명

연산자

- in: 차원 필드 값이 value에 포함되는 데이터 항목을 선택합니다

- not in: 차원 필드 값이 value에 포함되지 않는 데이터 항목을 선택합니다

op

Type: "in" | "not in" | undefined

설명

연산자

- in: 차원 필드 값이 value에 포함되는 데이터 항목을 선택합니다

- not in: 차원 필드 값이 value에 포함되지 않는 데이터 항목을 선택합니다

operator와 동일

value

Type: string | number | (string | number)[]

설명

차원 필드 값, 배열을 지원합니다

result

Type: DynamicFilterExecutionResult<RowWithFieldRes> | undefined

설명

동적 필터 실행 결과(런타임 필드)

prepare() 단계에서 기록되며 런타임에는 읽기 전용입니다

success

Type: false | true

data

Type: T[] | undefined

error

Type: string | undefined

legend

Type: Legend | undefined

설명

차트 범례를 정의하는 범례 설정입니다. 위치, 형식, 스타일 등을 포함합니다.

enable

Type: boolean | undefined

설명

범례 기능을 활성화할지 여부

예시 enable: true

border

Type: boolean | undefined

설명

범례 테두리를 활성화할지 여부입니다..

Warning

Applies only to discrete legends.

예시 범례 글꼴 두께

labelColor

Type: string | undefined

설명

legend font color

pagerIconColor

Type: string | undefined

설명

Pagination icon color.

pagerIconDisableColor

Type: string | undefined

설명

Pagination icon disabled/grayed-out color.

labelFontSize

Type: number | undefined

설명

범례 글꼴 크기

예시 labelFontSize: 10

labelFontColor

Type: string | undefined

설명

legend font color

labelFontWeight

Type: string | number | undefined

설명

범례 글꼴 두께

예시 labelFontWeight: 400

shapeType

Type: "circle" | "cross" | "diamond" | "square" | "arrow" | "arrow2Left" | "arrow2Right" | "wedge" | "thinTriangle" | "triangle" | "triangleUp" | "triangleDown" | "triangleRight" | "triangleLeft" | "stroke" | "star" | "wye" | "rect" | "arrowLeft" | "arrowRight" | "rectRound" | "roundLine" | undefined

설명

범례 모양

Warning

Applies only to discrete legends.

예시 Brush

position

Type: "left" | "leftTop" | "leftBottom" | "lt" | "lb" | "top" | "topLeft" | "topRight" | "tl" | "tr" | "right" | "rightTop" | "rightBottom" | "rt" | "rb" | "bottom" | "bottomLeft" | "bottomRight" | "bl" | "br" | undefined

설명

범례 위치

예시 position: 'rightTop'

maxSize

Type: number | undefined

설명

Maximum number of columns or rows when there are many legend items.

If position is horizontal (bottom, bottomLeft, bottomRight, bl, br, top, topLeft, topRight, tl, tr), maxSize controls the number of columns shown.

If position is vertical (left, leftTop, leftBottom, lt, lb, right, rightTop, rightBottom, rt, rb), maxSize controls the number of rows shown.

Warning

Applies only to discrete legends.

예시 브러시 모드; 단일 또는 여러 영역을 선택할 수 있는지 정의합니다.

tooltip

Type: Tooltip | undefined

설명

위치, 형식, 스타일 등을 포함해 차트 툴팁을 정의하는 툴팁 설정입니다.

enable

Type: false | true

설명

툴팁 기능 활성화 여부

brush

Type: Brush | undefined

설명

브러시 선택 상자의 모양과 선택 방향을 정의합니다

- polygon: 다각형 선택. 여러 점을 클릭해 임의의 다각형을 그려 선택할 수 있습니다

브러시 선택 모드: 단일 또는 다중

enable

Type: boolean | undefined

설명

선택된 데이터 포인트의 스타일을 정의합니다.

brushType

Type: "rect" | "x" | "y" | "polygon" | undefined

설명

brushtype

불투명도

선택된 데이터 포인트의 불투명도, 범위 0-1

- polygon: 다각형 브러시 선택. 여러 점을 클릭해 임의의 다각형을 그려 선택합니다

- x: X축 방향으로만 브러시 선택합니다. Y축 방향은 제한되지 않습니다

- y: Y축 방향 브러시 선택. X축 방향은 제한하지 않습니다

brushMode

Type: "single" | "multiple" | undefined

설명

선택된 데이터 포인트의 불투명도, 범위 0-1

선택되지 않은 데이터 항목의 스타일

선택된 브러시 영역 밖의 데이터 포인트 스타일을 정의합니다

- multiple: 다중 선택 모드. 여러 브러시 영역이 동시에 존재할 수 있습니다

removeOnClick

Type: boolean | undefined

설명

브러시 선택이 끝난 후 선택 영역을 지울지 여부

inBrushStyle

Type: { opacity?: number; stroke?: string; lineWidth?: number; } | undefined

설명

선택되지 않은 데이터 포인트의 불투명도, 범위 0-1

브러시 선택된 데이터 포인트의 스타일을 정의합니다

opacity

Type: number | undefined

설명

선택되지 않은 데이터 항목의 스타일

브러시 선택 밖의 데이터 포인트 스타일을 정의합니다

stroke

Type: string | undefined

설명

범주 축(X축) 설정으로, 위치, 형식, 스타일 등을 포함해 차트의 X축을 정의합니다.

lineWidth

Type: number | undefined

설명

선 너비

outOfBrushStyle

Type: { opacity?: number; stroke?: string; lineWidth?: number; } | undefined

설명

X축, 범주 축, X축 설정입니다. 위치, 형식, 스타일 등을 포함해 차트의 X축을 정의합니다.

브러시 선택 밖의 데이터 포인트 스타일을 정의합니다

opacity

Type: number | undefined

설명

선택되지 않은 데이터 항목의 스타일

브러시 선택 외부 데이터 포인트의 불투명도, 범위 0-1

stroke

Type: string | undefined

설명

범주 축(X축) 설정으로, 위치, 형식, 스타일 등을 포함해 차트의 X축을 정의합니다.

lineWidth

Type: number | undefined

설명

선 너비

xAxis

Type: XLinearAxis | undefined

설명

X-axis numeric-axis configuration, used to define the chart X-axis, including position, format, style, and related settings.

visible

Type: boolean | undefined

설명

축 선 색상

min

Type: number | undefined

설명

Axis line width

max

Type: number | boolean | undefined

설명

X-axis ticks

log

Type: boolean | undefined

설명

로그 축을 사용할지 여부입니다. 숫자 축에만 적용됩니다

logBase

Type: number | undefined

설명

Base of the logarithmic axis; only applies to numeric axes

nice

Type: boolean | undefined

설명

더 읽기 쉬운 tick label을 위해 축 tick 간격을 자동 조정할지 여부입니다. min과 max가 설정된 경우 이 옵션은 비활성화되며 숫자 축에만 적용됩니다.

inverse

Type: boolean | undefined

설명

X축 애니메이션 구성

zero

Type: boolean | undefined

설명

숫자 축(Y축) 구성으로, 차트의 Y축 위치, 형식, 스타일 등을 정의하는 데 사용됩니다.

autoFormat

Type: boolean | undefined

설명

숫자 축 tick label을 자동으로 형식화할지 여부입니다. 숫자 축에만 적용됩니다. autoFormat이 true이면 numFormat은 무시됩니다.

numFormat

Type: NumFormat | undefined

설명

숫자 축의 숫자 형식입니다. 숫자 축에만 적용되며 autoFormat보다 우선순위가 낮습니다.

type

Type: "number" | "percent" | "permille" | "scientific" | undefined

설명

숫자 형식 타입입니다. decimal, percent(%), permille(‰), 과학적 표기법을 지원합니다

ratio

Type: number | undefined

설명

숫자 형식 유형, 지원: number(10진수), percent(%), permille(‰), 과학적 표기법

예시 - 100000은 10万으로 변환, ratio:10000, symbol:"万" - 100000은 10K로 변환, ratio:1000, symbol:"K"

symbol

Type: string | undefined

설명

숫자 형식 기호입니다. 예: %, ‰

예시 - 100000은 10万으로 변환, ratio:10000, symbol:"万" - 100000은 10K로 변환, ratio:1000, symbol:"K"

thousandSeparator

Type: boolean | undefined

설명

Thousands separator for numeric formatting

suffix

Type: string | undefined

설명

숫자 형식의 천 단위 구분자

prefix

Type: string | undefined

설명

숫자 형식 접미사

fractionDigits

Type: number | undefined

설명

숫자 형식 접두사

예시 - 1234.5678은 1235, fractionDigits:0 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.6, fractionDigits:1 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.57, fractionDigits:2 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1230.568, fractionDigits:3 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.5678, fractionDigits:4 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.56780, fractionDigits:5 (roundingMode:halfCeil)로 변환됩니다

significantDigits

Type: number | undefined

설명

Significant digits for numeric formatting, using the browser's Intl.NumberFormat minimumSignificantDigits and maximumSignificantDigits; higher priority than fractionDigits.

예시 - 1234.5678은 1000, significantDigits:1로 변환됩니다 - 1234.5678은 1200, significantDigits:2로 변환됩니다 - 1234.5678은 1230, significantDigits:3로 변환됩니다 - 1234.5678은 1234, significantDigits:4로 변환됩니다 - 1234.5678은 1234.6, significantDigits:5 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.57, significantDigits:6 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.568, significantDigits:7 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.5678, significantDigits:8 (roundingMode:halfCeil)로 변환됩니다

roundingPriority

Type: "morePrecision" | "lessPrecision" | undefined

설명

Rounding priority when both significantDigits and fractionDigits are set; uses the browser's Intl.NumberFormat, following the same rules as Intl.NumberFormat's roundingPriority.

예시 - 1234.5678은 1230, significantDigits:3 (roundingPriority:lessPrecision)로 변환됩니다 - 1234.5678은 1234.5678, significantDigits:3 (roundingPriority:morePrecision)로 변환됩니다

roundingMode

Type: "floor" | "ceil" | "expand" | "trunc" | "halfCeil" | "halfFloor" | "halfExpand" | "halfTrunc" | "halfEven" | undefined

설명

Rounding mode for numeric formatting, using the browser's Intl.NumberFormat, following the same rules as Intl.NumberFormat's roundingMode.

label

Type: { visible?: boolean; labelColor?: string; labelFontSize?: number; labelFontWeight?: number; labelAngle?: number; } | undefined

설명

- orderBy:'date'

visible

Type: boolean | undefined

설명

카테고리 축에 직접 적용되는 사용자 지정 정렬 순서

labelColor

Type: string | undefined

설명

숫자 축의 숫자 형식입니다. 숫자 축에만 유효하며 autoFormat보다 우선순위가 낮습니다.

labelFontSize

Type: number | undefined

설명

label 글꼴 크기

labelFontWeight

Type: number | undefined

설명

레이블 글꼴 크기

labelAngle

Type: number | undefined

설명

라벨 회전 각도

line

Type: { visible?: boolean; lineColor?: string; lineWidth?: number; } | undefined

설명

X축 선

visible

Type: boolean | undefined

설명

레이블 글꼴 두께

lineColor

Type: string | undefined

설명

}

lineWidth

Type: number | undefined

설명

- 100000은 10万으로 변환, ratio:10000, symbol:"万"

tick

Type: { visible?: boolean; tickInside?: boolean; tickColor?: string; tickSize?: number; } | undefined

설명

X축 눈금

visible

Type: boolean | undefined

설명

숫자 형식 접미사

tickInside

Type: boolean | undefined

설명

정렬 순서이며 'asc' 또는 'desc'일 수 있습니다

tickColor

Type: string | undefined

설명

Legend sorting configuration; supports sorting based on dimensions or measures, as well as custom sorting orders; the sort array follows the order from left to right or top to bottom.

tickSize

Type: number | undefined

설명

sortLegend: {

title

Type: { visible?: boolean; titleText?: string; titleColor?: string; titleFontSize?: number; titleFontWeight?: number; } | undefined

설명

X축 제목

visible

Type: boolean | undefined

설명

- 1234.5678은 1234.6으로 변환됩니다. significantDigits:5 (roundingMode:halfCeil)

titleText

Type: string | undefined

설명

제목 텍스트입니다. 기본적으로 필드 구성을 따릅니다.

titleColor

Type: string | undefined

설명

- orderBy:'profit'

titleFontSize

Type: number | undefined

설명

Custom sorting order; this order will be directly applied to the legend. Ascending follows left-to-right or top-to-bottom; descending follows right-to-left or bottom-to-top.

titleFontWeight

Type: number | undefined

설명

Rectangle graphic element style

grid

Type: { visible?: boolean; gridColor?: string; gridWidth?: number; gridLineDash?: number[]; } | undefined

설명

Includes built-in light and dark themes. Custom themes can be added via registerTheme.

visible

Type: boolean | undefined

gridColor

Type: string | undefined

설명

selector = [{ profit: 100 }, { profit: 200 }]

gridWidth

Type: number | undefined

설명

selector = 100

gridLineDash

Type: number[] | undefined

설명

그리드 선 유형

animation

Type: { duration?: number; easing?: string; } | undefined

설명

X축 애니메이션 설정

duration

Type: number | undefined

설명

value: [100, 300]

easing

Type: string | undefined

설명

}

yAxis

Type: YLinearAxis | undefined

설명

Y축 수치 축 설정으로, 위치, 형식, 스타일 및 관련 설정을 포함해 차트 Y축을 정의합니다.

visible

Type: boolean | undefined

설명

축 선 색상

min

Type: number | undefined

설명

Axis line width

max

Type: number | boolean | undefined

설명

X-axis ticks

log

Type: boolean | undefined

설명

로그 축을 사용할지 여부입니다. 숫자 축에만 적용됩니다

logBase

Type: number | undefined

설명

Base of the logarithmic axis; only applies to numeric axes

nice

Type: boolean | undefined

설명

더 읽기 쉬운 tick label을 위해 축 tick 간격을 자동 조정할지 여부입니다. min과 max가 설정된 경우 이 옵션은 비활성화되며 숫자 축에만 적용됩니다.

inverse

Type: boolean | undefined

설명

X축 애니메이션 구성

zero

Type: boolean | undefined

설명

숫자 축(Y축) 구성으로, 차트의 Y축 위치, 형식, 스타일 등을 정의하는 데 사용됩니다.

autoFormat

Type: boolean | undefined

설명

숫자 축 tick label을 자동으로 형식화할지 여부입니다. 숫자 축에만 적용됩니다. autoFormat이 true이면 numFormat은 무시됩니다.

numFormat

Type: NumFormat | undefined

설명

숫자 축의 숫자 형식입니다. 숫자 축에만 적용되며 autoFormat보다 우선순위가 낮습니다.

type

Type: "number" | "percent" | "permille" | "scientific" | undefined

설명

숫자 형식 타입입니다. decimal, percent(%), permille(‰), 과학적 표기법을 지원합니다

ratio

Type: number | undefined

설명

숫자 형식 비율이며 0일 수 없습니다

예시 - 100000은 10万으로 변환, ratio:10000, symbol:"万" - 100000은 10K로 변환, ratio:1000, symbol:"K"

symbol

Type: string | undefined

설명

숫자 형식 기호입니다. 예: %, ‰

예시 - 100000은 10万으로 변환, ratio:10000, symbol:"万" - 100000은 10K로 변환, ratio:1000, symbol:"K"

thousandSeparator

Type: boolean | undefined

설명

숫자 형식 비율, 0일 수 없습니다

suffix

Type: string | undefined

설명

숫자 형식 접미사

prefix

Type: string | undefined

설명

숫자 형식 기호, 예: %, ‰

fractionDigits

Type: number | undefined

설명

Decimal places for numeric formatting, using the browser's Intl.NumberFormat minimumFractionDigits and maximumFractionDigits; lower priority than significantDigits.

예시 - 1234.5678은 1235, fractionDigits:0 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.6, fractionDigits:1 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.57, fractionDigits:2 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1230.568, fractionDigits:3 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.5678, fractionDigits:4 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.56780, fractionDigits:5 (roundingMode:halfCeil)로 변환됩니다

significantDigits

Type: number | undefined

설명

숫자 형식 접미사

예시 - 1234.5678은 1000, significantDigits:1로 변환됩니다 - 1234.5678은 1200, significantDigits:2로 변환됩니다 - 1234.5678은 1230, significantDigits:3로 변환됩니다 - 1234.5678은 1234, significantDigits:4로 변환됩니다 - 1234.5678은 1234.6, significantDigits:5 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.57, significantDigits:6 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.568, significantDigits:7 (roundingMode:halfCeil)로 변환됩니다 - 1234.5678은 1234.5678, significantDigits:8 (roundingMode:halfCeil)로 변환됩니다

roundingPriority

Type: "morePrecision" | "lessPrecision" | undefined

설명

숫자 형식의 소수 자릿수, 브라우저 Intl.NumberFormat의 minimumFractionDigits 및 maximumFractionDigits를 사용합니다. significantDigits보다 우선순위가 낮습니다

예시 - 1234.5678은 1230, significantDigits:3 (roundingPriority:lessPrecision)로 변환됩니다 - 1234.5678은 1234.5678, significantDigits:3 (roundingPriority:morePrecision)로 변환됩니다

roundingMode

Type: "floor" | "ceil" | "expand" | "trunc" | "halfCeil" | "halfFloor" | "halfExpand" | "halfTrunc" | "halfEven" | undefined

설명

숫자 형식의 유효 숫자, 브라우저 Intl.NumberFormat의 minimumSignificantDigits 및 maximumSignificantDigits를 사용합니다. fractionDigits보다 우선순위가 높습니다

label

Type: { visible?: boolean; labelColor?: string; labelFontSize?: number; labelFontWeight?: number; labelAngle?: number; } | undefined

설명

- orderBy:'date'

visible

Type: boolean | undefined

설명

significantDigits와 fractionDigits가 모두 설정된 경우의 숫자 형식 반올림 우선순위입니다. 브라우저 Intl.NumberFormat을 사용하며 Intl.NumberFormat의 roundingPriority와 동일한 규칙을 따릅니다

labelColor

Type: string | undefined

설명

숫자 축의 숫자 형식입니다. 숫자 축에만 유효하며 autoFormat보다 우선순위가 낮습니다.

labelFontSize

Type: number | undefined

설명

숫자 형식의 반올림 모드, 브라우저 Intl.NumberFormat을 사용하며 Intl.NumberFormat의 roundingMode와 동일한 규칙을 따릅니다

labelFontWeight

Type: number | undefined

설명

label 글꼴 두께

labelAngle

Type: number | undefined

설명

라벨 회전 각도

line

Type: { visible?: boolean; lineColor?: string; lineWidth?: number; } | undefined

설명

X축 선

visible

Type: boolean | undefined

설명

- orderBy:'date'

lineColor

Type: string | undefined

설명

}

lineWidth

Type: number | undefined

설명

레이블 글꼴 크기

tick

Type: { visible?: boolean; tickInside?: boolean; tickColor?: string; tickSize?: number; } | undefined

설명

X축 눈금

visible

Type: boolean | undefined

설명

숫자 형식 접미사

tickInside

Type: boolean | undefined

설명

정렬 순서이며 'asc' 또는 'desc'일 수 있습니다

tickColor

Type: string | undefined

설명

Legend sorting configuration; supports sorting based on dimensions or measures, as well as custom sorting orders; the sort array follows the order from left to right or top to bottom.

tickSize

Type: number | undefined

설명

sortLegend: {

title

Type: { visible?: boolean; titleText?: string; titleColor?: string; titleFontSize?: number; titleFontWeight?: number; } | undefined

설명

X축 제목

visible

Type: boolean | undefined

설명

- 1234.5678은 1234.6으로 변환됩니다. significantDigits:5 (roundingMode:halfCeil)

titleText

Type: string | undefined

설명

제목 텍스트입니다. 기본적으로 필드 구성을 따릅니다.

titleColor

Type: string | undefined

설명

- orderBy:'profit'

titleFontSize

Type: number | undefined

설명

Custom sorting order; this order will be directly applied to the legend. Ascending follows left-to-right or top-to-bottom; descending follows right-to-left or bottom-to-top.

titleFontWeight

Type: number | undefined

설명

Rectangle graphic element style

grid

Type: { visible?: boolean; gridColor?: string; gridWidth?: number; gridLineDash?: number[]; } | undefined

설명

Includes built-in light and dark themes. Custom themes can be added via registerTheme.

visible

Type: boolean | undefined

gridColor

Type: string | undefined

설명

selector = [{ profit: 100 }, { profit: 200 }]

gridWidth

Type: number | undefined

설명

selector = 100

gridLineDash

Type: number[] | undefined

설명

그리드 선 유형

animation

Type: { duration?: number; easing?: string; } | undefined

설명

selector = [{ profit: 100 }, { profit: 200 }]

duration

Type: number | undefined

설명

value: [100, 300]

easing

Type: string | undefined

설명

}

crosshairRect

Type: CrosshairRect | undefined

설명

코드 실행 실패 또는 환경 미지원 시 fallback 솔루션입니다.

차트 테마. Theme은 우선순위가 낮은 설정으로, 모든 차트 타입이 공유하는 공통 설정과 각 차트 타입의 개별 설정을 포함합니다. 내장 테마에는 'light'와 'dark'가 있으며 Builder를 통해 사용자 지정할 수 있습니다.

visible

Type: boolean | undefined

설명

테마

rectColor

Type: string | undefined

설명

내장 라이트/다크 테마가 있으며, registerTheme을 통해 새 테마를 사용자 지정할 수 있습니다.

labelColor

Type: string | undefined

설명

Operator

labelVisible

Type: boolean | undefined

설명

크로스헤어 사각 영역 레이블을 표시할지 여부입니다

labelBackgroundColor

Type: string | undefined

설명

- Supports arbitrarily complex data filtering conditions

stackCornerRadius

Type: number | number[] | undefined

설명

컬럼 차트 누적 모서리 반경

binCount

Type: number | undefined

설명

히스토그램 구간 수로, 히스토그램 구간 사각형(막대)의 수를 정의합니다

binStep

Type: number | undefined

설명

구간 간격으로, 구간 너비를 계산하는 데 사용되며 최종 히스토그램의 사각형(막대) 너비에도 영향을 줍니다. binCount와 binStep이 모두 설정되면 binStep이 우선합니다

binValueType

Type: "count" | "percentage" | undefined

설명

히스토그램 구간 값 유형으로, 히스토그램 구간 사각형(막대)의 값 유형을 정의하며 기본값은 'count'입니다

theme

Type: Theme | undefined

설명

차트 테마입니다. 테마는 우선순위가 낮은 기능 구성으로, 모든 차트 유형이 공유하는 공통 설정과 단일 차트 범주 안에서 공유되는 설정을 포함합니다. 기본 제공 테마에는 light와 dark가 있으며, 사용자는 Builder를 통해 테마를 사용자 지정할 수 있습니다.

Operator

- not in: 차원 field 값이 값 목록에 없는 데이터 항목을 선택합니다.

예시 Operator

Highlight items meeting multiple filtering conditions

const filtered = _.filter(data, item => {

length

Type: number

brand

Type: brand

barStyle

Type: BarStyle | BarStyle[] | undefined

설명

컬럼 차트의 직사각형 마크 스타일로 색상, 테두리, 모서리 반경 등을 정의합니다.

전역 스타일 또는 조건부 스타일 설정을 지원합니다

데이터 필터

selector 를 설정하면 숫자 selector, 로컬 데이터 selector, 조건부 차원 selector, 조건부 지표 selector 네 가지 매칭 방식을 사용할 수 있습니다

selector 가 없으면 스타일은 전역으로 적용됩니다.

selector

Type: Selector | Selectors | undefined

설명

데이터 선택자

selector 를 설정하면 숫자 selector, 로컬 데이터 selector, 조건부 차원 selector, 조건부 지표 selector 네 가지 매칭 방식을 사용할 수 있습니다

selector 가 없으면 스타일은 전역으로 적용됩니다.

예시 숫자 선택자 selector = "tool" selector = ["tool", "book"] selector = 100 selector = [100, 200]

로컬 데이터 선택자 selector = { profit: 100 } selector = [{ profit: 100 }, { profit: 200 }]

조건부 차원 선택자 selector = { field: 'category', operator: 'in', value: 'tool' } selector = { field: 'category', operator: 'not in', value: 'book' }

조건부 지표 선택자 selector = { field: 'profit', operator: '>=', value: 100 } selector = { field: 'profit', operator: 'between' value: [100, 300] }

field

Type: string

설명

차원 필드이며 dimensions 항목의 id입니다

operator

Type: "in" | "not in" | undefined

설명

연산자

  • in: 차원 필드 값이 value 에 포함되는 데이터 항목을 선택합니다

  • not in: 차원 필드 값이 value 에 포함되지 않는 데이터 항목을 선택합니다

op

Type: "in" | "not in" | undefined

설명

연산자

  • in: 차원 필드 값이 value 에 포함되는 데이터 항목을 선택합니다

  • not in: 차원 필드 값이 value 에 포함되지 않는 데이터 항목을 선택합니다

operator 와 동일합니다

value

Type: string | number | (string | number)[]

설명

데이터 항목의 차원 필드 값을 선택하며 배열을 지원합니다

dynamicFilter

Type: ChartDynamicFilter | undefined

설명

동적 필터(AI 생성 코드 실행)

AI가 생성한 JavaScript 코드로 복잡한 데이터 필터링 로직을 구현합니다.

Top N, 통계 분석, 복잡한 조건 등 정적 selector 로 표현하기 어려운 시나리오에 적합합니다.

주요 기능:

  • 임의의 복잡한 데이터 필터 조건 지원

  • 내장 유틸리티 함수로 데이터 작업 수행

  • 브라우저 환경(Web Worker 샌드박스)에서 안전하게 실행

환경 요구 사항: 브라우저 환경만 지원하며 Node.js 환경에서는 fallback 을 사용합니다.

참고: selector 와 dynamicFilter 는 동시에 사용할 수 없으며 dynamicFilter 의 우선순위가 더 높습니다.

차트 동적 필터 설정

AI 생성 JavaScript 코드로 차트 마크(막대, 점 등)를 필터링합니다

type

Type: "row-with-field"

description

Type: string | undefined

설명

사용자의 필터링 요구 설명(자연어)

예시 "sales > 1000 인 막대 강조"

"각 지역에서 이익률이 가장 높은 막대 강조"

code

Type: string

설명

AI 생성 JavaScript 필터 코드

  • 내장 유틸리티 함수만 사용할 수 있습니다(_ 또는 R 로 접근)

  • 입력 매개변수: data(배열), 각 item 은 행 번호를 나타내는 __row_index 필드를 포함합니다

  • 행 인덱스와 필드 조합 배열을 반환해야 합니다: Array<{ __row_index: number, field: string }>

  • __row_index 는 원본 데이터 항목의 행 번호이고, field 는 강조할 필드입니다

  • 금지: eval, Function, 비동기 작업, DOM API, 네트워크 요청

예시 sales 가 1000보다 큰 데이터 항목의 sales 필드를 강조합니다

const filtered = _.filter(data, item => item.sales > 1000);
return _.map(filtered, item => ({
__row_index: item.__row_index,
field: 'sales'
}));

각 지역에서 이익률이 가장 높은 데이터 항목을 강조합니다

const grouped = _.groupBy(data, 'area');
const maxItems = _.map(grouped, group =>
_.maxBy(group, item => item.profit / item.sales)
);
return _.flatten(
_.map(maxItems, item => [
{ __row_index: item.__row_index, field: 'product' },
{ __row_index: item.__row_index, field: 'profit' }
])
);

여러 조건으로 필터링된 데이터 항목을 강조합니다

const filtered = _.filter(data, item => {
const profitRate = item.profit / item.sales;
return profitRate > 0.2 && item.sales > 5000;
});
return _.flatten(
_.map(filtered, item => [
{ __row_index: item.__row_index, field: 'product' },
{ __row_index: item.__row_index, field: 'sales' }
])
);

fallback

Type: Selector | Selectors | undefined

설명

코드 실행 실패 또는 환경 미지원 시 fallback 방안

field

Type: string

설명

차원 필드이며 dimensions 항목의 id입니다

operator

Type: "in" | "not in" | undefined

설명

연산자

  • in: 차원 필드 값이 value 에 포함되는 데이터 항목을 선택합니다

  • not in: 차원 필드 값이 value 에 포함되지 않는 데이터 항목을 선택합니다

op

Type: "in" | "not in" | undefined

설명

연산자

  • in: 차원 필드 값이 value 에 포함되는 데이터 항목을 선택합니다

  • not in: 차원 필드 값이 value 에 포함되지 않는 데이터 항목을 선택합니다

operator 와 동일합니다

value

Type: string | number | (string | number)[]

설명

데이터 항목의 차원 필드 값을 선택하며 배열을 지원합니다

result

Type: DynamicFilterExecutionResult<RowWithFieldRes> | undefined

설명

동적 필터 실행 결과(런타임 필드)

prepare() 단계에서 기록되며 런타임에는 읽기 전용입니다

success

Type: false | true

data

Type: T[] | undefined

error

Type: string | undefined

barVisible

Type: boolean | undefined

설명

막대 요소(직사각형)를 표시할지 여부

barColor

Type: string | undefined

설명

막대 요소(직사각형) 색상

barColorOpacity

Type: number | undefined

설명

막대 요소(직사각형) 색상 투명도

barBorderColor

Type: string | undefined

설명

막대 요소(직사각형) 테두리 색상

barBorderWidth

Type: number | undefined

설명

막대 요소(직사각형) 테두리 너비

barBorderStyle

Type: "solid" | "dashed" | "dotted" | undefined

설명

막대 요소(직사각형) 테두리 스타일

예시 solid

dashed

dotted

barBorderOpacity

Type: number | undefined

설명

막대 요소(직사각형) 모서리 반경

막대 요소(직사각형) 스트로크 투명도

예시 4

[0, 0, 10, 10]

barRadius

Type: number | number[] | undefined

annotationPoint

Type: AnnotationPoint | AnnotationPoint[] | undefined

설명

주석 포인트 설정입니다. 선택한 데이터를 기준으로 위치, 형식, 스타일 등을 정의합니다.

selector

Type: Selector | Selectors | undefined

설명

주석 포인트 selector 이며 데이터 포인트 선택에 사용합니다.

field

Type: string

설명

차원 필드이며 dimensions 항목의 id입니다

operator

Type: "in" | "not in" | undefined

설명

연산자

  • in: 차원 필드 값이 value 에 포함되는 데이터 항목을 선택합니다

  • not in: 차원 필드 값이 value 에 포함되지 않는 데이터 항목을 선택합니다

op

Type: "in" | "not in" | undefined

설명

연산자

  • in: 차원 필드 값이 value 에 포함되는 데이터 항목을 선택합니다

  • not in: 차원 필드 값이 value 에 포함되지 않는 데이터 항목을 선택합니다

operator 와 동일합니다

value

Type: string | number | (string | number)[]

설명

데이터 항목의 차원 필드 값을 선택하며 배열을 지원합니다

measureId

Type: string | undefined

설명

주석 포인트가 속한 지표 id를 지정합니다. 여러 measure 시나리오에서는 selector 와 함께 대상 지표의 주석 포인트를 고유하게 찾을 수 있습니다.

dynamicFilter

Type: ChartDynamicFilter | undefined

설명

동적 필터(AI 생성 코드 실행)

AI가 생성한 JavaScript 코드로 복잡한 데이터 필터링 로직을 구현합니다.

Top N, 통계 분석, 복잡한 조건 등 정적 selector 로 표현하기 어려운 시나리오에 적합합니다.

주요 기능:

  • 임의의 복잡한 데이터 필터 조건 지원

  • 내장 유틸리티 함수로 데이터 작업 수행

  • 브라우저 환경(Web Worker 샌드박스)에서 안전하게 실행

환경 요구 사항: 브라우저 환경만 지원하며 Node.js 환경에서는 fallback 을 사용합니다.

참고: selector 와 dynamicFilter 는 동시에 사용할 수 없으며 dynamicFilter 의 우선순위가 더 높습니다.

차트 동적 필터 설정

AI 생성 JavaScript 코드로 차트 마크(막대, 점 등)를 필터링합니다

type

Type: "row-with-field"

description

Type: string | undefined

설명

사용자의 필터링 요구 설명(자연어)

예시 "sales > 1000 인 막대 강조"

"각 지역에서 이익률이 가장 높은 막대 강조"

code

Type: string

설명

AI 생성 JavaScript 필터 코드

  • 내장 유틸리티 함수만 사용할 수 있습니다(_ 또는 R 로 접근)

  • 입력 매개변수: data(배열), 각 item 은 행 번호를 나타내는 __row_index 필드를 포함합니다

  • 행 인덱스와 필드 조합 배열을 반환해야 합니다: Array<{ __row_index: number, field: string }>

  • __row_index 는 원본 데이터 항목의 행 번호이고, field 는 강조할 필드입니다

  • 금지: eval, Function, 비동기 작업, DOM API, 네트워크 요청

예시 sales 가 1000보다 큰 데이터 항목의 sales 필드를 강조합니다

const filtered = _.filter(data, item => item.sales > 1000);
return _.map(filtered, item => ({
__row_index: item.__row_index,
field: 'sales'
}));

각 지역에서 이익률이 가장 높은 데이터 항목을 강조합니다

const grouped = _.groupBy(data, 'area');
const maxItems = _.map(grouped, group =>
_.maxBy(group, item => item.profit / item.sales)
);
return _.flatten(
_.map(maxItems, item => [
{ __row_index: item.__row_index, field: 'product' },
{ __row_index: item.__row_index, field: 'profit' }
])
);

여러 조건으로 필터링된 데이터 항목을 강조합니다

const filtered = _.filter(data, item => {
const profitRate = item.profit / item.sales;
return profitRate > 0.2 && item.sales > 5000;
});
return _.flatten(
_.map(filtered, item => [
{ __row_index: item.__row_index, field: 'product' },
{ __row_index: item.__row_index, field: 'sales' }
])
);

fallback

Type: Selector | Selectors | undefined

설명

코드 실행 실패 또는 환경 미지원 시 fallback 방안

field

Type: string

설명

차원 필드이며 dimensions 항목의 id입니다

operator

Type: "in" | "not in" | undefined

설명

연산자

  • in: 차원 필드 값이 value 에 포함되는 데이터 항목을 선택합니다

  • not in: 차원 필드 값이 value 에 포함되지 않는 데이터 항목을 선택합니다

op

Type: "in" | "not in" | undefined

설명

연산자

  • in: 차원 필드 값이 value 에 포함되는 데이터 항목을 선택합니다

  • not in: 차원 필드 값이 value 에 포함되지 않는 데이터 항목을 선택합니다

operator 와 동일합니다

value

Type: string | number | (string | number)[]

설명

데이터 항목의 차원 필드 값을 선택하며 배열을 지원합니다

result

Type: DynamicFilterExecutionResult<RowWithFieldRes> | undefined

설명

동적 필터 실행 결과(런타임 필드)

prepare() 단계에서 기록되며 런타임에는 읽기 전용입니다

success

Type: false | true

data

Type: T[] | undefined

error

Type: string | undefined

text

Type: string | string[] | undefined

설명

텍스트 내용

예시 'Annotation text'

textColor

Type: string | undefined

설명

텍스트 색상

예시 'red'

textFontSize

Type: number | undefined

설명

텍스트 글꼴 크기

예시 12

textFontWeight

Type: number | undefined

설명

텍스트 글꼴 두께

예시 400

textAlign

Type: "left" | "right" | "center" | undefined

설명

텍스트 정렬, 일반적으로 설정할 필요가 없습니다

텍스트가 주석선 왼쪽에 있도록 right 설정을 권장합니다

right: 텍스트가 참조선 왼쪽에 있으며 오른쪽 가장자리가 수직 주석선에 정렬됩니다

left: 텍스트가 참조선 오른쪽에 있으며 왼쪽 가장자리가 수직 주석선에 정렬됩니다

center: 텍스트가 참조선 중앙에 있습니다

예시 'right'

textBaseline

Type: "top" | "bottom" | "middle" | undefined

설명

텍스트 수직 정렬입니다. 일반적으로 top 을 사용해 텍스트가 주석 포인트 아래에 표시되고 차트 가시 영역 안에 유지되도록 합니다

텍스트 전체가 보이도록 top 설정을 권장합니다

top: 텍스트가 주석 포인트 아래에 있습니다

middle: 텍스트가 주석 포인트 중심에 정렬됩니다

bottom: 텍스트가 주석 포인트 위에 있습니다

예시 'top'

textBackgroundVisible

Type: boolean | undefined

설명

배경 표시 여부

예시 true

textBackgroundColor

Type: string | undefined

설명

배경색

예시 'red'

textBackgroundBorderColor

Type: string | undefined

설명

배경 테두리 색상

예시 'red'

textBackgroundBorderWidth

Type: number | undefined

설명

배경 테두리 너비

예시 2

textBackgroundBorderRadius

Type: number | undefined

설명

배경 테두리 반경

예시 4

textBackgroundPadding

Type: number | undefined

설명

배경 안쪽 여백

예시 4

offsetY

Type: number | undefined

설명

Décalage Y en pixels de tout le point d’annotation. Valeur positive recommandée au-dessus du graphique, négative en dessous.

Une valeur négative déplace tout le composant vers le haut, par exemple -10 de 10 px

Une valeur positive le déplace vers le bas, par exemple 10 de 10 px

예시 offsetY: 5

offsetX

Type: number | undefined

설명

Décalage X en pixels de tout le point d’annotation. Valeur positive à gauche du graphique, négative à droite.

Une valeur négative déplace tout le composant vers la gauche, par exemple -10 de 10 px

Une valeur positive le déplace vers la droite, par exemple 10 de 10 px

예시 offsetX: 5

annotationVerticalLine

Type: AnnotationVerticalLine | AnnotationVerticalLine[] | undefined

설명

Configuration des lignes d’annotation verticales.

xValue

Type: string | number | (string | number)[] | undefined

설명

Valeur X fixe pour la ligne verticale; utilisez une valeur de dimension pour un axe catégoriel, une valeur numérique concrète pour un axe numérique

dynamicFilter

Type: ValueDynamicFilter | undefined

설명

동적 필터(AI 생성 코드 실행)

AI 생성 JavaScript 필터 코드

  • 내장 유틸리티 함수만 사용할 수 있습니다(_ 또는 R 로 접근)

  • 입력 매개변수: data(배열)

  • Doit retourner une seule valeur number ou string: number | string

  • Cas d’usage: valeurs dynamiques nécessaires aux lignes d’annotation (horizontales/verticales)

  • 금지: eval, Function, 비동기 작업, DOM API, 네트워크 요청

type

Type: "value"

description

Type: string | undefined

설명

Description du besoin de valeur dynamique (langage naturel)

예시 "Obtenir la valeur maximale de sales comme référence de ligne d’annotation"

"Calculer la moyenne de sales pour la ligne d’annotation"

code

Type: string

설명

동적 필터(AI 생성 코드 실행)

AI 생성 JavaScript 필터 코드

  • 내장 유틸리티 함수만 사용할 수 있습니다(_ 또는 R 로 접근)

  • 입력 매개변수: data(배열)

  • Doit retourner une seule valeur number ou string: number | string

  • Cas d’usage: valeurs dynamiques nécessaires aux lignes d’annotation (horizontales/verticales)

  • 금지: eval, Function, 비동기 작업, DOM API, 네트워크 요청

예시 Obtenir la valeur maximale de sales comme valeur de ligne d’annotation

const maxSales = _.maxBy(data, 'sales')?.sales;
return maxSales || 0;

Calculer la moyenne pour la ligne d’annotation

const avgSales = _.meanBy(data, 'sales');
return _.round(avgSales, 2);

Obtenir un quantile comme ligne d’annotation

const sorted = _.sortBy(data, 'sales');
const index = Math.floor(sorted.length * 0.75);
return sorted[index]?.sales || 0;

Calculer une valeur cible selon une condition

const currentYearTotal = _.sumBy(
_.filter(data, item => item.year === 2024),
'sales'
);
return currentYearTotal;

fallback

Type: string | number | undefined

설명

Valeur fallback si l’exécution du code échoue ou si l’environnement n’est pas pris en charge

result

Type: { success: boolean; data?: number | string; } | undefined

설명

동적 필터 실행 결과(런타임 필드)

prepare() 단계에서 기록되며 런타임에는 읽기 전용입니다

success

Type: false | true

data

Type: string | number | undefined

text

Type: string | string[] | undefined

설명

텍스트 내용

예시 'Annotation text'

textPosition

Type: "outsideStart" | "outsideEnd" | "outsideMiddle" | "insideStart" | "insideMiddle" | "insideEnd" | undefined

설명

Position du texte

Position du libellé de la ligne d’annotation par rapport à la ligne.

예시 'outsideEnd'

textColor

Type: string | undefined

설명

텍스트 색상

예시 'red'

textFontSize

Type: number | undefined

설명

텍스트 글꼴 크기

예시 12

textFontWeight

Type: number | undefined

설명

텍스트 글꼴 두께

예시 400

textAlign

Type: "left" | "right" | "center" | undefined

설명

텍스트 정렬, 일반적으로 설정할 필요가 없습니다

텍스트가 주석선 왼쪽에 있도록 right 설정을 권장합니다

right: 텍스트가 참조선 왼쪽에 있으며 오른쪽 가장자리가 수직 주석선에 정렬됩니다

left: 텍스트가 참조선 오른쪽에 있으며 왼쪽 가장자리가 수직 주석선에 정렬됩니다

center: 텍스트가 참조선 중앙에 있습니다

예시 'right'

textBaseline

Type: "top" | "bottom" | "middle" | undefined

설명

텍스트 수직 정렬, 일반적으로 설정할 필요가 없습니다

텍스트 전체가 차트 가시 영역 안에 표시되도록 top 설정을 권장합니다

top: 텍스트가 참조선 아래에 있고 수직 주석선 끝에 정렬됩니다

middle: 텍스트가 참조선 중앙에 있습니다

bottom: 텍스트가 참조선 위에 있습니다

예시 'top'

lineVisible

Type: boolean | undefined

설명

선 표시 여부

예시 true

lineColor

Type: string | undefined

설명

선 색상

예시 'red'

lineWidth

Type: number | undefined

설명

선 너비

예시 2

lineStyle

Type: "solid" | "dashed" | "dotted" | undefined

설명

선 스타일

예시 'solid'

textBackgroundVisible

Type: boolean | undefined

설명

배경 표시 여부

예시 true

textBackgroundColor

Type: string | undefined

설명

배경색

예시 'red'

textBackgroundBorderColor

Type: string | undefined

설명

배경 테두리 색상

예시 'red'

textBackgroundBorderWidth

Type: number | undefined

설명

배경 테두리 너비

예시 2

textBackgroundBorderRadius

Type: number | undefined

설명

배경 테두리 반경

예시 4

textBackgroundPadding

Type: number | undefined

설명

배경 안쪽 여백

예시 4

annotationHorizontalLine

Type: AnnotationHorizontalLine | AnnotationHorizontalLine[] | undefined

설명

Configuration des lignes d’annotation horizontales.

yValue

Type: string | number | (string | number)[] | undefined

설명

Valeur Y fixe pour la ligne horizontale; utilisez une valeur de dimension pour un axe catégoriel, une valeur numérique concrète pour un axe numérique

dynamicFilter

Type: ValueDynamicFilter | undefined

설명

동적 필터(AI 생성 코드 실행)

AI 생성 JavaScript 필터 코드

  • 내장 유틸리티 함수만 사용할 수 있습니다(_ 또는 R 로 접근)

  • 입력 매개변수: data(배열)

  • Doit retourner une seule valeur number ou string: number | string

  • Cas d’usage: valeurs dynamiques nécessaires aux lignes d’annotation (horizontales/verticales)

  • 금지: eval, Function, 비동기 작업, DOM API, 네트워크 요청

type

Type: "value"

description

Type: string | undefined

설명

사용자의 필터링 요구 설명(자연어)입니다.

예시 "주석선 기준으로 사용할 최대 매출 값을 가져옵니다"

"주석선에 사용할 평균 매출을 계산합니다"

code

Type: string

설명

동적 필터(AI 생성 코드 실행)

AI 생성 JavaScript 필터 코드

  • 내장 유틸리티 함수만 사용할 수 있습니다(_ 또는 R 로 접근)

  • 입력 매개변수: data(배열)

  • Doit retourner une seule valeur number ou string: number | string

  • Cas d’usage: valeurs dynamiques nécessaires aux lignes d’annotation (horizontales/verticales)

  • 금지: eval, Function, 비동기 작업, DOM API, 네트워크 요청

예시 Obtenir la valeur maximale de sales comme valeur de ligne d’annotation

const maxSales = _.maxBy(data, 'sales')?.sales;
return maxSales || 0;

Calculer la moyenne pour la ligne d’annotation

const avgSales = _.meanBy(data, 'sales');
return _.round(avgSales, 2);

Obtenir un quantile comme ligne d’annotation

const sorted = _.sortBy(data, 'sales');
const index = Math.floor(sorted.length * 0.75);
return sorted[index]?.sales || 0;

Calculer une valeur cible selon une condition

const currentYearTotal = _.sumBy(
_.filter(data, item => item.year === 2024),
'sales'
);
return currentYearTotal;

fallback

Type: string | number | undefined

설명

Valeur fallback si l’exécution du code échoue ou si l’environnement n’est pas pris en charge

result

Type: { success: boolean; data?: number | string; } | undefined

설명

동적 필터 실행 결과(런타임 필드)

prepare() 단계에서 기록되며 런타임에는 읽기 전용입니다

success

Type: false | true

data

Type: string | number | undefined

text

Type: string | string[] | undefined

설명

텍스트 내용

예시 'Annotation text'

textPosition

Type: "outsideStart" | "outsideEnd" | "outsideMiddle" | "insideStart" | "insideMiddle" | "insideEnd" | undefined

설명

Position du texte

Position du libellé de la ligne d’annotation par rapport à la ligne.

예시 'outsideEnd'

textColor

Type: string | undefined

설명

텍스트 색상

예시 'red'

textFontSize

Type: number | undefined

설명

텍스트 글꼴 크기

예시 12

textFontWeight

Type: number | undefined

설명

텍스트 글꼴 두께

예시 400

textAlign

Type: "left" | "right" | "center" | undefined

설명

텍스트 정렬, 일반적으로 설정할 필요가 없습니다

텍스트가 주석선 왼쪽에 있도록 right 설정을 권장합니다

right: 텍스트가 참조선 왼쪽에 있으며 오른쪽 가장자리가 수직 주석선에 정렬됩니다

left: 텍스트가 참조선 오른쪽에 있으며 왼쪽 가장자리가 수직 주석선에 정렬됩니다

center: 텍스트가 참조선 중앙에 있습니다

예시 'right'

textBaseline

Type: "top" | "bottom" | "middle" | undefined

설명

텍스트 수직 정렬, 일반적으로 설정할 필요가 없습니다

텍스트 전체가 차트 가시 영역 안에 표시되도록 top 설정을 권장합니다

top: 텍스트가 참조선 아래에 있고 수평 주석선에 정렬됩니다

middle: 텍스트가 참조선 중앙에 있습니다

bottom: 텍스트가 참조선 위에 있습니다

예시 'top'

textBackgroundVisible

Type: boolean | undefined

설명

배경 표시 여부

예시 true

textBackgroundColor

Type: string | undefined

설명

배경색

예시 'red'

textBackgroundBorderColor

Type: string | undefined

설명

배경 테두리 색상

예시 'red'

textBackgroundBorderWidth

Type: number | undefined

설명

배경 테두리 너비

예시 2

textBackgroundBorderRadius

Type: number | undefined

설명

배경 테두리 반경

예시 4

textBackgroundPadding

Type: number | undefined

설명

배경 안쪽 여백

예시 4

lineVisible

Type: boolean | undefined

설명

선 표시 여부

예시 true

lineColor

Type: string | undefined

설명

선 색상

예시 'red'

lineWidth

Type: number | undefined

설명

선 너비

예시 2

lineStyle

Type: "solid" | "dashed" | "dotted" | undefined

설명

선 스타일

예시 'solid'

splitLine

Type: boolean | { positiveColor?: string; negativeColor?: string; } | undefined

설명

Configuration de ligne de séparation; les parties au-dessus et au-dessous de la valeur d’annotation peuvent utiliser des couleurs différentes.

positiveColor

Type: string | undefined

설명

Couleur principale de la partie supérieure à la valeur d’annotation

negativeColor

Type: string | undefined

설명

Couleur principale de la partie inférieure à la valeur d’annotation

annotationArea

Type: AnnotationArea | AnnotationArea[] | undefined

설명

주석 영역 설정입니다. 선택한 데이터를 기준으로 위치와 스타일 등을 정의합니다.

selector

Type: AreaSelector | AreaSelectors | undefined

설명

Sélecteur de la zone d’annotation.

field

Type: string

설명

차원 필드이며 dimensions 항목의 id입니다

operator

Type: "in" | "not in" | undefined

설명

연산자

  • in: 차원 필드 값이 value 에 포함되는 데이터 항목을 선택합니다

  • not in: 차원 필드 값이 value 에 포함되지 않는 데이터 항목을 선택합니다

op

Type: "in" | "not in" | undefined

설명

연산자

  • in: 차원 필드 값이 value 에 포함되는 데이터 항목을 선택합니다

  • not in: 차원 필드 값이 value 에 포함되지 않는 데이터 항목을 선택합니다

operator 와 동일합니다

value

Type: string | number | (string | number)[]

설명

데이터 항목의 차원 필드 값을 선택하며 배열을 지원합니다

text

Type: string | string[] | undefined

설명

텍스트 내용

예시 'Annotation text'

textPosition

Type: "left" | "top" | "topLeft" | "topRight" | "right" | "bottom" | "bottomLeft" | "bottomRight" | undefined

설명

Position du texte

예시 'top'

textColor

Type: string | undefined

설명

텍스트 색상

예시 'red'

textFontSize

Type: number | undefined

설명

텍스트 글꼴 크기

예시 12

textFontWeight

Type: number | undefined

설명

텍스트 글꼴 두께

예시 400

textAlign

Type: "left" | "right" | "center" | undefined

설명

텍스트 정렬, 일반적으로 설정할 필요가 없습니다

center: le texte est centré dans la zone d’annotation

left: le texte est à gauche dans la zone d’annotation

right: le texte est à droite dans la zone d’annotation

예시 'center'

textBaseline

Type: "top" | "bottom" | "middle" | undefined

설명

텍스트 수직 정렬, 일반적으로 설정할 필요가 없습니다

top: le texte est en haut de la zone d’annotation

middle: le texte est au centre de la zone d’annotation

bottom: le texte est en bas de la zone d’annotation

예시 'middle'

textBackgroundVisible

Type: boolean | undefined

설명

배경 표시 여부

예시 true

textBackgroundColor

Type: string | undefined

설명

배경색

예시 'red'

textBackgroundBorderColor

Type: string | undefined

설명

배경 테두리 색상

예시 'red'

textBackgroundBorderWidth

Type: number | undefined

설명

배경 테두리 너비

예시 2

textBackgroundBorderRadius

Type: number | undefined

설명

배경 테두리 반경

예시 4

textBackgroundPadding

Type: number | undefined

설명

배경 안쪽 여백

예시 4

areaColor

Type: string | undefined

설명

주석 영역 색상

예시 'rgba(255,0,0,0.1)'

areaColorOpacity

Type: number | undefined

설명

주석 영역 투명도

예시 0.2

areaBorderColor

Type: string | undefined

설명

주석 영역 테두리 색상

예시 'red'

areaBorderWidth

Type: number | undefined

설명

주석 영역 테두리 너비

예시 2

areaBorderRadius

Type: number | undefined

설명

주석 영역 테두리 반경

예시 4

areaLineDash

Type: number[] | undefined

설명

주석 영역 테두리 대시 설정

예시 [4, 4]

outerPadding

Type: number | undefined

설명

외부 여백

예시 8

kdeRegressionLine

Type: KdeRegressionLine | KdeRegressionLine[] | undefined

설명

커널 밀도 회귀선 설정으로, 데이터의 추세와 분포를 표시하는 데 사용됩니다

enable

Type: boolean | undefined

설명

회귀선 기능을 활성화할지 여부

color

Type: string | undefined

설명

회귀선 색상

회귀선 색상을 설정합니다. 설정하지 않으면 기본적으로 차트의 주 색상을 사용합니다

lineWidth

Type: number | undefined

설명

회귀선 너비

회귀선 너비를 픽셀 단위로 설정하며, 기본값은 1입니다

lineDash

Type: number[] | undefined

설명

회귀선 스타일

회귀선 스타일을 설정합니다. 예: 실선, 점선 등. 기본값은 실선입니다

text

Type: string | undefined

설명

회귀선 레이블 텍스트

회귀선의 레이블 텍스트를 설정합니다. 빈 문자열은 레이블을 표시하지 않음을 의미합니다

textColor

Type: string | undefined

설명

텍스트 색상

예시 'red'

textFontSize

Type: number | undefined

설명

[2, 2]

예시 12

textFontWeight

Type: number | undefined

설명

0

예시 400

ecdfRegressionLine

Type: EcdfRegressionLine | EcdfRegressionLine[] | undefined

설명

경험적 누적 분포 함수 회귀선 설정으로, 데이터의 누적 분포를 표시하는 데 사용됩니다

enable

Type: boolean | undefined

설명

활성화 여부

color

Type: string | undefined

설명

회귀선 색상

회귀선 색상을 설정합니다. 설정하지 않으면 기본적으로 차트의 주 색상을 사용합니다

lineWidth

Type: number | undefined

설명

회귀선 너비

회귀선 너비를 픽셀 단위로 설정하며, 기본값은 1입니다

lineDash

Type: number[] | undefined

설명

회귀선 스타일

회귀선 스타일을 설정합니다. 예: 실선, 점선 등. 기본값은 실선입니다

text

Type: string | undefined

설명

회귀선 레이블 텍스트

회귀선의 레이블 텍스트를 설정합니다. 빈 문자열은 레이블을 표시하지 않음을 의미합니다

textColor

Type: string | undefined

설명

텍스트 색상

예시 'red'

textFontSize

Type: number | undefined

설명

[2, 2]

예시 12

textFontWeight

Type: number | undefined

설명

0

예시 400

dimensionLinkage

Type: DimensionLinkage | undefined

설명

차트에 피벗 기능 또는 지표 조합이 켜져 있을 때 차원 연동 기능을 활성화할지 여부입니다.

특정 차원 값에 hover하면 다른 차트의 동일한 차원 값 데이터를 연동해 강조합니다.

피벗 차트 차원 연동 구성

enable

Type: false | true

설명

피벗 차트 차원 연동을 활성화할지 여부

showTooltip

Type: boolean | undefined

설명

모든 차원에 해당하는 하위 차트의 Tooltip 정보를 표시할지 여부

showLabel

Type: boolean | undefined

설명

crosshair에 해당하는 레이블을 표시할지 여부

locale

Type: "zh-CN" | "en-US" | "ja-JP" | "de-DE" | "id-ID" | "fr-FR" | "ko-KR" | "vi-VN" | undefined

설명

차트 언어 구성입니다. 'zh-CN'과 'en-US' 두 언어를 지원하며 intl.setLocale('zh-CN') 메서드를 호출해 언어를 설정할 수도 있습니다