# Gantt

작업의 기간과 진척을 시간축에 배치합니다.

Canonical: https://chart.syidax.com/ko/docs/components/gantt/

<a id="overview"></a>

## sy-gantt-chart

프로젝트 일정·마일스톤·기준선을 함께 관리하세요.

표시용 예제는 작업 저장을 수행하지 않습니다. 편집 이벤트를 영속화하려면 앱에서 저장 처리를 연결하세요.

기본 차트 등급: Pro. 추가 렌더러·커스텀 브랜딩 등 기능의 권한은 별도입니다.

| 입력 | 데이터 설명 |
| --- | --- |
| `data` | { id, label, start, end?, progress?, milestone?, baseline? } 작업 배열입니다. progress는 0–1입니다. |

- [Components에서 실행하기](https://chart.syidax.com/charts/gantt) — 옵션 변경과 프레임워크별 코드
- [공통 설치와 연결](https://chart.syidax.com/ko/docs/getting-started.md)

<a id="example"></a>

## 전체 적용 예제

```html
<div id="chart-container" style="width: 100%; min-width: 0;"></div>

<script type="module">
  import { defineCustomElement as define0 } from '@syidax/advanced-pro/components/sy-gantt-chart.js';
  define0();

  // Pro: 앱 시작 시 발급받은 인증서로 registerLicense를 완료하세요.
  // 홈페이지 미리보기의 인증서는 고객 앱에서 사용하지 않습니다.
  const specs = [
    {
      "id": "example-chart",
      "tag": "sy-gantt-chart",
      "props": {
        "data": [
          {
            "id": "research",
            "label": "리서치",
            "start": "2026-01-05",
            "end": "2026-01-09",
            "progress": 1,
            "color": "#8263d9"
          },
          {
            "id": "design",
            "label": "설계",
            "start": "2026-01-08",
            "end": "2026-01-16",
            "progress": 0.65,
            "color": "#239c91"
          },
          {
            "id": "build",
            "label": "구현",
            "start": "2026-01-14",
            "end": "2026-01-26",
            "progress": 0.3,
            "color": "#e99954"
          },
          {
            "id": "launch",
            "label": "공개",
            "start": "2026-01-28",
            "milestone": true
          }
        ],
        "width": 640,
        "height": 360,
        "brandPosition": "bottom-right",
        "brandLogo": ""
      }
    }
  ];
  const container = document.querySelector('#chart-container');
  const elements = specs.map(({ tag, id, props }) => {
    const element = document.createElement(tag);
    element.id = id;
    Object.assign(element, props);
    element.setAttribute('aria-label', 'gantt 예제 차트');
    return element;
  });
  container.replaceChildren(...elements);
  const chart = elements.at(-1);
  const onEvent = event => {
    console.log('taskClick', event.detail);
  };
  chart.addEventListener('taskClick', onEvent);
  const observer = new ResizeObserver(([entry]) => {
    const width = Math.max(160, Math.floor(entry.contentRect.width));
    elements.forEach(element => { element.width = width; });
  });
  observer.observe(container);

  // SPA에서는 화면이 해제될 때 이 함수를 호출하세요.
  function disposeChart() {
    observer.disconnect();
    chart.removeEventListener('taskClick', onEvent);
    container.replaceChildren();
  }
</script>
```

<a id="props"></a>

## Properties

<a id="property-data"></a>

### data

{ id, label, start, end?, progress?, milestone?, baseline? } 작업 배열입니다. progress는 0–1입니다.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `data` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `GanttData` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [GanttData](https://chart.syidax.com/ko/docs/types/GanttData.md) — 타입 정의

<a id="property-width"></a>

### width

차트의 너비를 px 단위로 지정합니다. 컨테이너 너비가 변하는 앱에서는 ResizeObserver에서 width를 갱신하세요.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `width` |
| HTML attribute | `width` |
| 타입 | `number` |
| 기본값 | `900` |

<a id="property-height"></a>

### height

차트의 높이를 px 단위로 지정합니다. 축, 제목과 범례가 차지하는 공간을 함께 고려하세요.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `height` |
| HTML attribute | `height` |
| 타입 | `number` |
| 기본값 | `400` |

<a id="property-brandLogo"></a>

### brandLogo

기본값은 Syidax 심볼과 워드마크입니다. Pro의 chart.branding 권한으로 none을 지정해 제거하거나 PNG·JPEG·WebP data URL로 교체할 수 있습니다.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `brandLogo` |
| HTML attribute | `brand-logo` |
| 타입 | `string` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

<a id="property-brandPosition"></a>

### brandPosition

로고를 고정할 코너입니다. Community·Pro 모두 네 코너 중 하나를 선택할 수 있으며 화면과 이미지 내보내기에 같은 위치를 사용합니다.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `brandPosition` |
| HTML attribute | `brand-position` |
| 타입 | `'top-left' \| 'top-right' \| 'bottom-left' \| 'bottom-right'` |
| 기본값 | `'bottom-right'` |
| 허용값 | `top-left`, `top-right`, `bottom-left`, `bottom-right` |

<a id="property-barHeight"></a>

### barHeight

Maximum task bar height and gap in CSS pixels.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `barHeight` |
| HTML attribute | `bar-height` |
| 타입 | `number` |
| 기본값 | `24` |

<a id="property-rowGap"></a>

### rowGap

HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: number.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `rowGap` |
| HTML attribute | `row-gap` |
| 타입 | `number` |
| 기본값 | `4` |

<a id="property-barRadius"></a>

### barRadius

HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: number.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `barRadius` |
| HTML attribute | `bar-radius` |
| 타입 | `number` |
| 기본값 | `3` |

<a id="property-progressShow"></a>

### progressShow

HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: boolean.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `progressShow` |
| HTML attribute | `progress-show` |
| 타입 | `boolean` |
| 기본값 | `true` |

<a id="property-progressColor"></a>

### progressColor

HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: string.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `progressColor` |
| HTML attribute | `progress-color` |
| 타입 | `string` |
| 기본값 | `'auto'` |

<a id="property-taskLabelFormat"></a>

### taskLabelFormat

JavaScript 프로퍼티로 전달합니다. 타입: (task:GanttTask)=>string.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `taskLabelFormat` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `(task:GanttTask)=>string` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [GanttTask](https://chart.syidax.com/ko/docs/types/GanttTask.md) — 타입 정의

<a id="property-timeDomain"></a>

### timeDomain

Optional full timeline extent in epoch milliseconds.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `timeDomain` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `readonly [number, number]` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

<a id="property-criticalPath"></a>

### criticalPath

JavaScript 프로퍼티로 전달합니다. 타입: GanttCriticalPathInput.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `criticalPath` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `GanttCriticalPathInput` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [GanttCriticalPathInput](https://chart.syidax.com/ko/docs/types/GanttCriticalPathInput.md) — 타입 정의

<a id="property-taskEditing"></a>

### taskEditing

Opt-in task move/resize. Committed local edits are queried through getTasks/getTaskEdits; source updates supersede them.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `taskEditing` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `GanttTaskEditingInput` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [GanttTaskEditingInput](https://chart.syidax.com/ko/docs/types/GanttTaskEditingInput.md) — 타입 정의

<a id="property-baseline"></a>

### baseline

Reference-date strips, visible by default when tasks include baseline dates.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `baseline` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `GanttBaselineStyleInput` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [GanttBaselineStyleInput](https://chart.syidax.com/ko/docs/types/GanttBaselineStyleInput.md) — 타입 정의

<a id="property-dependencies"></a>

### dependencies

JavaScript 프로퍼티로 전달합니다. 타입: ReadonlyArray<GanttDependencyInput>.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `dependencies` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `ReadonlyArray<GanttDependencyInput>` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [GanttDependencyInput](https://chart.syidax.com/ko/docs/types/GanttDependencyInput.md) — 타입 정의

<a id="property-dependencyStyle"></a>

### dependencyStyle

JavaScript 프로퍼티로 전달합니다. 타입: GanttDependencyStyleInput.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `dependencyStyle` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `GanttDependencyStyleInput` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [GanttDependencyStyleInput](https://chart.syidax.com/ko/docs/types/GanttDependencyStyleInput.md) — 타입 정의

<a id="property-timeAxis"></a>

### timeAxis

JavaScript 프로퍼티로 전달합니다. 타입: GanttTimeAxisInput.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `timeAxis` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `GanttTimeAxisInput` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [GanttTimeAxisInput](https://chart.syidax.com/ko/docs/types/GanttTimeAxisInput.md) — 타입 정의

<a id="property-crosshair"></a>

### crosshair

JavaScript 프로퍼티로 전달합니다. 타입: CartesianCrosshairInput.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `crosshair` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `CartesianCrosshairInput` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [CartesianCrosshairInput](https://chart.syidax.com/ko/docs/types/CartesianCrosshairInput.md) — 타입 정의

<a id="property-crosshairTimeUnit"></a>

### crosshairTimeUnit

Crosshair time badge precision; hour by default. Uses timeAxis.utc without changing event timestamps.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `crosshairTimeUnit` |
| HTML attribute | `crosshair-time-unit` |
| 타입 | `GanttCrosshairTimeUnit` |
| 기본값 | `'hour'` |
| 허용값 | `year`, `month`, `week`, `day`, `hour`, `minute`, `second` |

- [GanttCrosshairTimeUnit](https://chart.syidax.com/ko/docs/types/GanttCrosshairTimeUnit.md) — 타입 정의

<a id="property-color"></a>

### color

HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: string.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `color` |
| HTML attribute | `color` |
| 타입 | `string` |
| 기본값 | `'auto'` |

<a id="property-activeColor"></a>

### activeColor

HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: string.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `activeColor` |
| HTML attribute | `active-color` |
| 타입 | `string` |
| 기본값 | `'#f59e0b'` |

<a id="property-taskLabels"></a>

### taskLabels

허용값: auto, show, hide. 기본값: 'auto'.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `taskLabels` |
| HTML attribute | `task-labels` |
| 타입 | `GanttLabelMode` |
| 기본값 | `'auto'` |
| 허용값 | `auto`, `show`, `hide` |

- [GanttLabelMode](https://chart.syidax.com/ko/docs/types/GanttLabelMode.md) — 타입 정의

<a id="property-chartTitle"></a>

### chartTitle

차트 내부 제목입니다. 데이터의 단위와 의미를 함께 설명하세요.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `chartTitle` |
| HTML attribute | `chart-title` |
| 타입 | `string` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

<a id="property-chartSubtitle"></a>

### chartSubtitle

차트 내부 부제목입니다.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `chartSubtitle` |
| HTML attribute | `chart-subtitle` |
| 타입 | `string` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

<a id="property-enableMouseTracking"></a>

### enableMouseTracking

HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: boolean.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `enableMouseTracking` |
| HTML attribute | `enable-mouse-tracking` |
| 타입 | `boolean` |
| 기본값 | `true` |

<a id="property-tooltip"></a>

### tooltip

포인터에 따라 표시할 값, 위치, 내용의 툴팁 설정입니다.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `tooltip` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `CartesianTooltipInput` |
| 기본값 | `undefined` |
| 타입에 포함된 리터럴 | `auto`, `off` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [CartesianTooltipInput](https://chart.syidax.com/ko/docs/types/CartesianTooltipInput.md) — 타입 정의

<a id="property-tooltipEnabled"></a>

### tooltipEnabled

HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: boolean.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `tooltipEnabled` |
| HTML attribute | `tooltip-show` |
| 타입 | `boolean` |
| 기본값 | `true` |

<a id="property-tooltipFormat"></a>

### tooltipFormat

JavaScript 프로퍼티로 전달합니다. 타입: (detail: GanttHitDetail) => string.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `tooltipFormat` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `(detail: GanttHitDetail) => string` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [GanttHitDetail](https://chart.syidax.com/ko/docs/types/GanttHitDetail.md) — 타입 정의

<a id="property-animated"></a>

### animated

초기 표시와 데이터 변경의 애니메이션 사용 여부입니다.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `animated` |
| HTML attribute | `animate` |
| 타입 | `boolean` |
| 기본값 | `false` |

<a id="property-animationDuration"></a>

### animationDuration

애니메이션 지속 시간(ms).

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `animationDuration` |
| HTML attribute | `animation-duration` |
| 타입 | `number` |
| 기본값 | `600` |

<a id="property-animationEasing"></a>

### animationEasing

허용값: linear, ease-out, ease-in, ease-in-out. 기본값: 'ease-out'.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `animationEasing` |
| HTML attribute | `animation-easing` |
| 타입 | `GanttEasing` |
| 기본값 | `'ease-out'` |
| 허용값 | `linear`, `ease-out`, `ease-in`, `ease-in-out` |

- [GanttEasing](https://chart.syidax.com/ko/docs/types/GanttEasing.md) — 타입 정의

<a id="property-animationType"></a>

### animationType

허용값: initial, update. 기본값: undefined.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `animationType` |
| HTML attribute | `animation-type` |
| 타입 | `GanttAnimationType` |
| 기본값 | `undefined` |
| 허용값 | `initial`, `update` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [GanttAnimationType](https://chart.syidax.com/ko/docs/types/GanttAnimationType.md) — 타입 정의

<a id="property-streamSource"></a>

### streamSource

실시간 데이터를 전달하는 스트림 소스입니다. 해당 타입의 계약을 확인하세요.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `streamSource` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `GanttStreamSource` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [GanttStreamSource](https://chart.syidax.com/ko/docs/types/GanttStreamSource.md) — 타입 정의

<a id="property-streamMax"></a>

### streamMax

보관할 스트리밍 데이터의 최대 수입니다.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `streamMax` |
| HTML attribute | `stream-max` |
| 타입 | `number` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

<a id="property-streamWindow"></a>

### streamWindow

화면에 유지할 스트리밍 데이터 구간입니다.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `streamWindow` |
| HTML attribute | `stream-window` |
| 타입 | `number` |
| 기본값 | `undefined` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

<a id="property-zoom"></a>

### zoom

확대·축소와 표시 범위의 동작 설정입니다.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `zoom` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `CartesianZoomInput` |
| 기본값 | `undefined` |
| 타입에 포함된 리터럴 | `auto`, `off`, `true`, `false`, `x`, `y`, `xy`, `inside` |

undefined는 이 속성을 명시하지 않은 상태입니다. 실제 표시 값은 차트 종류와 다른 설정에 따라 결정될 수 있습니다.

- [CartesianZoomInput](https://chart.syidax.com/ko/docs/types/CartesianZoomInput.md) — 타입 정의

<a id="property-engine"></a>

### engine

auto·standard·pro 렌더러 선택입니다. 엔진 선택은 차트 종류의 Pro 사용 권한과 별개입니다.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `engine` |
| HTML attribute | `engine` |
| 타입 | `GanttEngineMode` |
| 기본값 | `'auto'` |
| 허용값 | `auto`, `standard`, `pro` |

- [GanttEngineMode](https://chart.syidax.com/ko/docs/types/GanttEngineMode.md) — 타입 정의

<a id="property-unavailable"></a>

### unavailable

허용값: fallback, error. 기본값: 'fallback'.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `unavailable` |
| HTML attribute | `unavailable` |
| 타입 | `GanttUnavailableBehaviour` |
| 기본값 | `'fallback'` |
| 허용값 | `fallback`, `error` |

- [GanttUnavailableBehaviour](https://chart.syidax.com/ko/docs/types/GanttUnavailableBehaviour.md) — 타입 정의

<a id="events"></a>

## Events

<a id="event-rendered"></a>

### rendered

차트 그리기가 완료되면 렌더링 결과를 detail로 전달합니다.

이벤트 이름: `rendered`. 대소문자를 구분합니다. payload는 `CustomEvent<GanttRenderResult & { tier: GanttEngineTier }>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('rendered', event => {
  console.log(event.detail); // GanttRenderResult & { tier: GanttEngineTier }
});
```

- [GanttRenderResult](https://chart.syidax.com/ko/docs/types/GanttRenderResult.md) — 타입 정의
- [GanttEngineTier](https://chart.syidax.com/ko/docs/types/GanttEngineTier.md) — 타입 정의

<a id="event-dependencyClick"></a>

### dependencyClick

CustomEvent.detail 타입: GanttDependencyHitDetail. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `dependencyClick`. 대소문자를 구분합니다. payload는 `CustomEvent<GanttDependencyHitDetail>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('dependencyClick', event => {
  console.log(event.detail); // GanttDependencyHitDetail
});
```

- [GanttDependencyHitDetail](https://chart.syidax.com/ko/docs/types/GanttDependencyHitDetail.md) — 타입 정의

<a id="event-dependencyHover"></a>

### dependencyHover

CustomEvent.detail 타입: GanttDependencyHitDetail | null. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `dependencyHover`. 대소문자를 구분합니다. payload는 `CustomEvent<GanttDependencyHitDetail | null>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('dependencyHover', event => {
  console.log(event.detail); // GanttDependencyHitDetail | null
});
```

- [GanttDependencyHitDetail](https://chart.syidax.com/ko/docs/types/GanttDependencyHitDetail.md) — 타입 정의

<a id="event-dependencySelectionChange"></a>

### dependencySelectionChange

CustomEvent.detail 타입: GanttDependencySelectionChange. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `dependencySelectionChange`. 대소문자를 구분합니다. payload는 `CustomEvent<GanttDependencySelectionChange>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('dependencySelectionChange', event => {
  console.log(event.detail); // GanttDependencySelectionChange
});
```

- [GanttDependencySelectionChange](https://chart.syidax.com/ko/docs/types/GanttDependencySelectionChange.md) — 타입 정의

<a id="event-taskClick"></a>

### taskClick

CustomEvent.detail 타입: GanttHitDetail. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `taskClick`. 대소문자를 구분합니다. payload는 `CustomEvent<GanttHitDetail>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('taskClick', event => {
  console.log(event.detail); // GanttHitDetail
});
```

- [GanttHitDetail](https://chart.syidax.com/ko/docs/types/GanttHitDetail.md) — 타입 정의

<a id="event-taskHover"></a>

### taskHover

CustomEvent.detail 타입: GanttHitDetail | null. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `taskHover`. 대소문자를 구분합니다. payload는 `CustomEvent<GanttHitDetail | null>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('taskHover', event => {
  console.log(event.detail); // GanttHitDetail | null
});
```

- [GanttHitDetail](https://chart.syidax.com/ko/docs/types/GanttHitDetail.md) — 타입 정의

<a id="event-taskEditStart"></a>

### taskEditStart

CustomEvent.detail 타입: GanttTaskEditEventDetail. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `taskEditStart`. 대소문자를 구분합니다. payload는 `CustomEvent<GanttTaskEditEventDetail>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('taskEditStart', event => {
  console.log(event.detail); // GanttTaskEditEventDetail
});
```

- [GanttTaskEditEventDetail](https://chart.syidax.com/ko/docs/types/GanttTaskEditEventDetail.md) — 타입 정의

<a id="event-taskEditMove"></a>

### taskEditMove

CustomEvent.detail 타입: GanttTaskEditEventDetail. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `taskEditMove`. 대소문자를 구분합니다. payload는 `CustomEvent<GanttTaskEditEventDetail>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('taskEditMove', event => {
  console.log(event.detail); // GanttTaskEditEventDetail
});
```

- [GanttTaskEditEventDetail](https://chart.syidax.com/ko/docs/types/GanttTaskEditEventDetail.md) — 타입 정의

<a id="event-taskEditEnd"></a>

### taskEditEnd

Cancelable before local dates, completion and row order commit. preventDefault restores the prior state.

이벤트 이름: `taskEditEnd`. 대소문자를 구분합니다. payload는 `CustomEvent<GanttTaskEditEventDetail>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('taskEditEnd', event => {
  console.log(event.detail); // GanttTaskEditEventDetail
});
```

- [GanttTaskEditEventDetail](https://chart.syidax.com/ko/docs/types/GanttTaskEditEventDetail.md) — 타입 정의

<a id="event-taskEditCancel"></a>

### taskEditCancel

CustomEvent.detail 타입: GanttTaskEditEventDetail. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `taskEditCancel`. 대소문자를 구분합니다. payload는 `CustomEvent<GanttTaskEditEventDetail>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('taskEditCancel', event => {
  console.log(event.detail); // GanttTaskEditEventDetail
});
```

- [GanttTaskEditEventDetail](https://chart.syidax.com/ko/docs/types/GanttTaskEditEventDetail.md) — 타입 정의

<a id="event-selectionChanged"></a>

### selectionChanged

CustomEvent.detail 타입: GanttSelectionChangeEventDetail. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `selectionChanged`. 대소문자를 구분합니다. payload는 `CustomEvent<GanttSelectionChangeEventDetail>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('selectionChanged', event => {
  console.log(event.detail); // GanttSelectionChangeEventDetail
});
```

- [GanttSelectionChangeEventDetail](https://chart.syidax.com/ko/docs/types/GanttSelectionChangeEventDetail.md) — 타입 정의

<a id="event-pointContextMenu"></a>

### pointContextMenu

CustomEvent.detail 타입: ChartPointContextMenuEventDetail<GanttHitDetail>. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `pointContextMenu`. 대소문자를 구분합니다. payload는 `CustomEvent<ChartPointContextMenuEventDetail<GanttHitDetail>>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('pointContextMenu', event => {
  console.log(event.detail); // ChartPointContextMenuEventDetail<GanttHitDetail>
});
```

- [ChartPointContextMenuEventDetail](https://chart.syidax.com/ko/docs/types/ChartPointContextMenuEventDetail.md) — 타입 정의
- [GanttHitDetail](https://chart.syidax.com/ko/docs/types/GanttHitDetail.md) — 타입 정의

<a id="event-appended"></a>

### appended

CustomEvent.detail 타입: { count: number; replaced: number }. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `appended`. 대소문자를 구분합니다. payload는 `CustomEvent<{ count: number; replaced: number }>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('appended', event => {
  console.log(event.detail); // { count: number; replaced: number }
});
```

<a id="event-windowSlid"></a>

### windowSlid

CustomEvent.detail 타입: { dropped: number }. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `windowSlid`. 대소문자를 구분합니다. payload는 `CustomEvent<{ dropped: number }>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('windowSlid', event => {
  console.log(event.detail); // { dropped: number }
});
```

<a id="event-tooltipShow"></a>

### tooltipShow

내장 툴팁 표시 여부입니다.

이벤트 이름: `tooltipShow`. 대소문자를 구분합니다. payload는 `CustomEvent<CartesianTooltipEventDetail>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('tooltipShow', event => {
  console.log(event.detail); // CartesianTooltipEventDetail
});
```

- [CartesianTooltipEventDetail](https://chart.syidax.com/ko/docs/types/CartesianTooltipEventDetail.md) — 타입 정의

<a id="event-tooltipHide"></a>

### tooltipHide

CustomEvent.detail 타입: void. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `tooltipHide`. 대소문자를 구분합니다. payload는 `CustomEvent<void>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('tooltipHide', event => {
  console.log(event.detail); // void
});
```

<a id="event-tooltipAction"></a>

### tooltipAction

CustomEvent.detail 타입: CartesianTooltipActionEventDetail. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `tooltipAction`. 대소문자를 구분합니다. payload는 `CustomEvent<CartesianTooltipActionEventDetail>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('tooltipAction', event => {
  console.log(event.detail); // CartesianTooltipActionEventDetail
});
```

- [CartesianTooltipActionEventDetail](https://chart.syidax.com/ko/docs/types/CartesianTooltipActionEventDetail.md) — 타입 정의

<a id="event-chartAnimationStart"></a>

### chartAnimationStart

CustomEvent.detail 타입: void. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `chartAnimationStart`. 대소문자를 구분합니다. payload는 `CustomEvent<void>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('chartAnimationStart', event => {
  console.log(event.detail); // void
});
```

<a id="event-chartAnimationEnd"></a>

### chartAnimationEnd

CustomEvent.detail 타입: void. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `chartAnimationEnd`. 대소문자를 구분합니다. payload는 `CustomEvent<void>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('chartAnimationEnd', event => {
  console.log(event.detail); // void
});
```

<a id="event-chartAnimationInterrupted"></a>

### chartAnimationInterrupted

CustomEvent.detail 타입: void. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `chartAnimationInterrupted`. 대소문자를 구분합니다. payload는 `CustomEvent<void>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('chartAnimationInterrupted', event => {
  console.log(event.detail); // void
});
```

<a id="event-zoomChange"></a>

### zoomChange

CustomEvent.detail 타입: CartesianZoomChangeEventDetail. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `zoomChange`. 대소문자를 구분합니다. payload는 `CustomEvent<CartesianZoomChangeEventDetail>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('zoomChange', event => {
  console.log(event.detail); // CartesianZoomChangeEventDetail
});
```

- [CartesianZoomChangeEventDetail](https://chart.syidax.com/ko/docs/types/CartesianZoomChangeEventDetail.md) — 타입 정의

<a id="event-crosshairMove"></a>

### crosshairMove

CustomEvent.detail 타입: CartesianCrosshairEventDetail | null. 이벤트 이름은 대소문자를 구분합니다.

이벤트 이름: `crosshairMove`. 대소문자를 구분합니다. payload는 `CustomEvent<CartesianCrosshairEventDetail | null>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('crosshairMove', event => {
  console.log(event.detail); // CartesianCrosshairEventDetail | null
});
```

- [CartesianCrosshairEventDetail](https://chart.syidax.com/ko/docs/types/CartesianCrosshairEventDetail.md) — 타입 정의

<a id="methods"></a>

## Methods

<a id="method-getCriticalPath"></a>

### getCriticalPath

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
getCriticalPath(): Promise<GanttCriticalPathResult>
```

반환 타입: `Promise<GanttCriticalPathResult>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttCriticalPathResult](https://chart.syidax.com/ko/docs/types/GanttCriticalPathResult.md) — 타입 정의

<a id="method-getDependencies"></a>

### getDependencies

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
getDependencies(): Promise<GanttDependencyDataset>
```

반환 타입: `Promise<GanttDependencyDataset>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttDependencyDataset](https://chart.syidax.com/ko/docs/types/GanttDependencyDataset.md) — 타입 정의

<a id="method-getDependencyPaths"></a>

### getDependencyPaths

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
getDependencyPaths(): Promise<GanttDependencyPath[]>
```

반환 타입: `Promise<GanttDependencyPath[]>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttDependencyPath](https://chart.syidax.com/ko/docs/types/GanttDependencyPath.md) — 타입 정의

<a id="method-hitTestDependency"></a>

### hitTestDependency

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
hitTestDependency(cssX: number, cssY: number): Promise<GanttDependencyHitDetail|null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `cssX` | `number` | 필수 |
| `cssY` | `number` | 필수 |

반환 타입: `Promise<GanttDependencyHitDetail|null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttDependencyHitDetail](https://chart.syidax.com/ko/docs/types/GanttDependencyHitDetail.md) — 타입 정의

<a id="method-getDependencySelection"></a>

### getDependencySelection

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
getDependencySelection(): Promise<GanttDependencySelection>
```

반환 타입: `Promise<GanttDependencySelection>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttDependencySelection](https://chart.syidax.com/ko/docs/types/GanttDependencySelection.md) — 타입 정의

<a id="method-selectDependencyAt"></a>

### selectDependencyAt

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
selectDependencyAt(index: number): Promise<GanttDependencyHitDetail|null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `index` | `number` | 필수 |

반환 타입: `Promise<GanttDependencyHitDetail|null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttDependencyHitDetail](https://chart.syidax.com/ko/docs/types/GanttDependencyHitDetail.md) — 타입 정의

<a id="method-showDependencyTooltipAtIndex"></a>

### showDependencyTooltipAtIndex

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
showDependencyTooltipAtIndex(index: number): Promise<CartesianTooltipEventDetail|null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `index` | `number` | 필수 |

반환 타입: `Promise<CartesianTooltipEventDetail|null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [CartesianTooltipEventDetail](https://chart.syidax.com/ko/docs/types/CartesianTooltipEventDetail.md) — 타입 정의

<a id="method-redraw"></a>

### redraw

현재 데이터와 옵션으로 차트를 다시 그립니다. 반환되는 Promise가 완료되면 렌더링 결과를 확인할 수 있습니다.

```typescript
redraw(): Promise<GanttRenderResult>
```

반환 타입: `Promise<GanttRenderResult>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttRenderResult](https://chart.syidax.com/ko/docs/types/GanttRenderResult.md) — 타입 정의

<a id="method-getEngineStatus"></a>

### getEngineStatus

Requested engine vs what runs, and why (CHART-ADD-08); a frozen or unlicensed chart reports the license outcome.

```typescript
getEngineStatus(): Promise<ChartEngineStatus>
```

반환 타입: `Promise<ChartEngineStatus>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [ChartEngineStatus](https://chart.syidax.com/ko/docs/types/ChartEngineStatus.md) — 타입 정의

<a id="method-getActiveTier"></a>

### getActiveTier

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
getActiveTier(): Promise<GanttEngineTier>
```

반환 타입: `Promise<GanttEngineTier>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttEngineTier](https://chart.syidax.com/ko/docs/types/GanttEngineTier.md) — 타입 정의

<a id="method-getUnavailableReason"></a>

### getUnavailableReason

Why the WebGPU renderer could not run (the fallback notice's reason); undefined when nothing fell back.

```typescript
getUnavailableReason(): Promise<string | undefined>
```

반환 타입: `Promise<string | undefined>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

<a id="method-setData"></a>

### setData

Replace the bar set.

```typescript
setData(data: GanttData): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `data` | `GanttData` | 필수 |

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttData](https://chart.syidax.com/ko/docs/types/GanttData.md) — 타입 정의

<a id="method-getTasks"></a>

### getTasks

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
getTasks(): Promise<GanttTask[]>
```

반환 타입: `Promise<GanttTask[]>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttTask](https://chart.syidax.com/ko/docs/types/GanttTask.md) — 타입 정의

<a id="method-getTask"></a>

### getTask

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
getTask(index: number): Promise<GanttTask | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `index` | `number` | 필수 |

반환 타입: `Promise<GanttTask | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttTask](https://chart.syidax.com/ko/docs/types/GanttTask.md) — 타입 정의

<a id="method-getTaskById"></a>

### getTaskById

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
getTaskById(id: string): Promise<GanttTask | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `id` | `string` | 필수 |

반환 타입: `Promise<GanttTask | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttTask](https://chart.syidax.com/ko/docs/types/GanttTask.md) — 타입 정의

<a id="method-getDiagnostics"></a>

### getDiagnostics

Normalization diagnostics for the effective base and stream source.

```typescript
getDiagnostics(): Promise<GanttDiagnostics>
```

반환 타입: `Promise<GanttDiagnostics>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttDiagnostics](https://chart.syidax.com/ko/docs/types/GanttDiagnostics.md) — 타입 정의

<a id="method-getTaskCount"></a>

### getTaskCount

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
getTaskCount(): Promise<number>
```

반환 타입: `Promise<number>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

<a id="method-getExtent"></a>

### getExtent

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
getExtent(): Promise<GanttExtent>
```

반환 타입: `Promise<GanttExtent>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttExtent](https://chart.syidax.com/ko/docs/types/GanttExtent.md) — 타입 정의

<a id="method-getLayout"></a>

### getLayout

Host-local geometry as shown. Scale fields preserve ellipses under non-uniform viewport zoom.

```typescript
getLayout(): Promise<GanttLayoutResult>
```

반환 타입: `Promise<GanttLayoutResult>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttLayoutResult](https://chart.syidax.com/ko/docs/types/GanttLayoutResult.md) — 타입 정의

<a id="method-getBaselines"></a>

### getBaselines

Reference comparisons for every accepted task, including hidden/offscreen baselines. Positive variance means later or longer.

```typescript
getBaselines(): Promise<GanttBaselineComparison[]>
```

반환 타입: `Promise<GanttBaselineComparison[]>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttBaselineComparison](https://chart.syidax.com/ko/docs/types/GanttBaselineComparison.md) — 타입 정의

<a id="method-appendPoint"></a>

### appendPoint

스트림에 값 하나를 추가합니다. 메서드 인수 타입과 스트리밍 기능의 라이선스 조건을 확인하세요.

```typescript
appendPoint(task: GanttTaskInput): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `task` | `GanttTaskInput` | 필수 |

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttTaskInput](https://chart.syidax.com/ko/docs/types/GanttTaskInput.md) — 타입 정의

<a id="method-appendBatch"></a>

### appendBatch

스트림에 여러 값을 한 번에 추가합니다. 메서드 인수 타입과 스트리밍 기능의 라이선스 조건을 확인하세요.

```typescript
appendBatch(tasks: ReadonlyArray<GanttTaskInput>): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `tasks` | `ReadonlyArray<GanttTaskInput>` | 필수 |

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttTaskInput](https://chart.syidax.com/ko/docs/types/GanttTaskInput.md) — 타입 정의

<a id="method-shift"></a>

### shift

Drop the oldest streamed categories (the `data` boxes are not the stream).

```typescript
shift(count: number): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `count` | `number` | 필수 |

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

<a id="method-replace"></a>

### replace

Swap the streamed set (`replace([])` clears it); the base `values` never leave. Without `chart.streaming` the dies upsert into the base like a batch (quietly: no `appended`, no `binChanged`, as a ring replace).

```typescript
replace(tasks: ReadonlyArray<GanttTaskInput>): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `tasks` | `ReadonlyArray<GanttTaskInput>` | 필수 |

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttTaskInput](https://chart.syidax.com/ko/docs/types/GanttTaskInput.md) — 타입 정의

<a id="method-getStreamSource"></a>

### getStreamSource

The stream session's source (Chart Pro): like the stream methods it waits for a license still being confirmed.

```typescript
getStreamSource(): Promise<GanttStreamSource | undefined>
```

반환 타입: `Promise<GanttStreamSource | undefined>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttStreamSource](https://chart.syidax.com/ko/docs/types/GanttStreamSource.md) — 타입 정의

<a id="method-pauseAnimation"></a>

### pauseAnimation

진행 중인 애니메이션을 일시 정지합니다.

```typescript
pauseAnimation(): Promise<void>
```

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

<a id="method-resumeAnimation"></a>

### resumeAnimation

일시 정지한 애니메이션을 다시 진행합니다.

```typescript
resumeAnimation(): Promise<void>
```

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

<a id="method-replayAnimation"></a>

### replayAnimation

Replay the initial sweep from min → value(s). No-op when animation is off / reduced.

```typescript
replayAnimation(): Promise<void>
```

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

<a id="method-setAnimation"></a>

### setAnimation

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
setAnimation(options: { enabled?: boolean; duration?: number; easing?: GanttEasing; type?: GanttAnimationType }): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `options` | `{ enabled?: boolean; duration?: number; easing?: GanttEasing; type?: GanttAnimationType }` | 필수 |

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttEasing](https://chart.syidax.com/ko/docs/types/GanttEasing.md) — 타입 정의
- [GanttAnimationType](https://chart.syidax.com/ko/docs/types/GanttAnimationType.md) — 타입 정의

<a id="method-hitTest"></a>

### hitTest

The box under a host-local CSS point (the nearest slot, within half a pitch), or null.

```typescript
hitTest(cssX: number, cssY: number): Promise<GanttHitDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `cssX` | `number` | 필수 |
| `cssY` | `number` | 필수 |

반환 타입: `Promise<GanttHitDetail | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttHitDetail](https://chart.syidax.com/ko/docs/types/GanttHitDetail.md) — 타입 정의

<a id="method-selectTaskAt"></a>

### selectTaskAt

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
selectTaskAt(index: number): Promise<GanttHitDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `index` | `number` | 필수 |

반환 타입: `Promise<GanttHitDetail | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttHitDetail](https://chart.syidax.com/ko/docs/types/GanttHitDetail.md) — 타입 정의

<a id="method-clearSelection"></a>

### clearSelection

Release the selection (emits selectionChanged when there was one).

```typescript
clearSelection(): Promise<void>
```

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

<a id="method-getSelection"></a>

### getSelection

The selection: the selected node's / link's detail (`null` = none); its anchors are Pro-derived, refused without a valid license.

```typescript
getSelection(): Promise<GanttSelection>
```

반환 타입: `Promise<GanttSelection>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttSelection](https://chart.syidax.com/ko/docs/types/GanttSelection.md) — 타입 정의

<a id="method-showTooltipAtIndex"></a>

### showTooltipAtIndex

open the tooltip on a box (the facade's `showTooltipAtPoint` routes here); null off the boxes or with the tooltip off.

```typescript
showTooltipAtIndex(index: number): Promise<CartesianTooltipEventDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `index` | `number` | 필수 |

반환 타입: `Promise<CartesianTooltipEventDetail | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [CartesianTooltipEventDetail](https://chart.syidax.com/ko/docs/types/CartesianTooltipEventDetail.md) — 타입 정의

<a id="method-showTooltipAtPoint"></a>

### showTooltipAtPoint

Open the tooltip for a dot programmatically. `pointIndex` is the category (row) index; the optional `seriesIndex` selects a group within that row (defaults to the first visible group's dot in the row). Returns the emitted tooltip detail, or null when no dot resolves / the tooltip is disabled.

```typescript
showTooltipAtPoint(index: number): Promise<CartesianTooltipEventDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `index` | `number` | 필수 |

반환 타입: `Promise<CartesianTooltipEventDetail | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [CartesianTooltipEventDetail](https://chart.syidax.com/ko/docs/types/CartesianTooltipEventDetail.md) — 타입 정의

<a id="method-hideTooltip"></a>

### hideTooltip

현재 표시 중인 툴팁을 닫습니다.

```typescript
hideTooltip(): Promise<void>
```

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

<a id="method-getTaskEdits"></a>

### getTaskEdits

Committed local dates, completion and displaced rows; never mutates caller data.

```typescript
getTaskEdits(): Promise<GanttTaskEdit[]>
```

반환 타입: `Promise<GanttTaskEdit[]>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttTaskEdit](https://chart.syidax.com/ko/docs/types/GanttTaskEdit.md) — 타입 정의

<a id="method-resetTaskEdits"></a>

### resetTaskEdits

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
resetTaskEdits(id?: string): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `id` | `string` | 선택 |

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

<a id="method-cancelTaskEdit"></a>

### cancelTaskEdit

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
cancelTaskEdit(): Promise<boolean>
```

반환 타입: `Promise<boolean>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

<a id="method-zoomTo"></a>

### zoomTo

Zoom to an explicit millisecond x window. Task rows do not accept y zoom requests.

```typescript
zoomTo(request: CartesianZoomRequest): Promise<CartesianZoomChangeEventDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `request` | `CartesianZoomRequest` | 필수 |

반환 타입: `Promise<CartesianZoomChangeEventDetail | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [CartesianZoomChangeEventDetail](https://chart.syidax.com/ko/docs/types/CartesianZoomChangeEventDetail.md) — 타입 정의
- [CartesianZoomRequest](https://chart.syidax.com/ko/docs/types/CartesianZoomRequest.md) — 타입 정의

<a id="method-zoomBy"></a>

### zoomBy

Scale the current windows by `factor` (< 1 zooms in) around `anchorFraction` (0..1, default centre).

```typescript
zoomBy(factor: number, anchorFraction?: number): Promise<CartesianZoomChangeEventDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `factor` | `number` | 필수 |
| `anchorFraction` | `number` | 선택 |

반환 타입: `Promise<CartesianZoomChangeEventDetail | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [CartesianZoomChangeEventDetail](https://chart.syidax.com/ko/docs/types/CartesianZoomChangeEventDetail.md) — 타입 정의

<a id="method-panBy"></a>

### panBy

Slide the zoomed windows by milliseconds (`{ x?, y? }`); a no-op at the full extent.

```typescript
panBy(delta: { x?: number; y?: number }): Promise<CartesianZoomChangeEventDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `delta` | `{ x?: number; y?: number }` | 필수 |

반환 타입: `Promise<CartesianZoomChangeEventDetail | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [CartesianZoomChangeEventDetail](https://chart.syidax.com/ko/docs/types/CartesianZoomChangeEventDetail.md) — 타입 정의

<a id="method-resetZoom"></a>

### resetZoom

확대·이동한 범위를 초기 데이터 범위로 되돌립니다.

```typescript
resetZoom(): Promise<CartesianZoomChangeEventDetail | null>
```

반환 타입: `Promise<CartesianZoomChangeEventDetail | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [CartesianZoomChangeEventDetail](https://chart.syidax.com/ko/docs/types/CartesianZoomChangeEventDetail.md) — 타입 정의

<a id="method-getZoom"></a>

### getZoom

현재 확대 범위를 읽습니다. 반환 타입의 null 허용 여부와 축별 범위를 확인하세요.

```typescript
getZoom(): Promise<CartesianZoomState | null>
```

반환 타입: `Promise<CartesianZoomState | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [CartesianZoomState](https://chart.syidax.com/ko/docs/types/CartesianZoomState.md) — 타입 정의

<a id="method-getZoomExtent"></a>

### getZoomExtent

The full timestamp extent and axis key (`null` before the first layout).

```typescript
getZoomExtent(request?: CartesianZoomExtentRequest): Promise<CartesianZoomExtentDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `request` | `CartesianZoomExtentRequest` | 선택 |

반환 타입: `Promise<CartesianZoomExtentDetail | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [CartesianZoomExtentDetail](https://chart.syidax.com/ko/docs/types/CartesianZoomExtentDetail.md) — 타입 정의
- [CartesianZoomExtentRequest](https://chart.syidax.com/ko/docs/types/CartesianZoomExtentRequest.md) — 타입 정의

<a id="method-getDataTable"></a>

### getDataTable

Current normalized table, including the retained stream; independent of GPU availability.

```typescript
getDataTable(): Promise<ChartDataTable>
```

반환 타입: `Promise<ChartDataTable>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [ChartDataTable](https://chart.syidax.com/ko/docs/types/ChartDataTable.md) — 타입 정의

<a id="method-getLabels"></a>

### getLabels

the placed node labels in HOST-local CSS px as shown (the plot offset added; under a zoom the labels of the nodes outside the window are left out), shown or hidden with the reason.

```typescript
getLabels(): Promise<GanttLabel[]>
```

반환 타입: `Promise<GanttLabel[]>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttLabel](https://chart.syidax.com/ko/docs/types/GanttLabel.md) — 타입 정의

<a id="method-getTimeAxis"></a>

### getTimeAxis

비동기 메서드입니다. 아래 인수 타입과 반환 타입을 확인하세요.

```typescript
getTimeAxis(): Promise<GanttTimeAxisModel>
```

반환 타입: `Promise<GanttTimeAxisModel>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GanttTimeAxisModel](https://chart.syidax.com/ko/docs/types/GanttTimeAxisModel.md) — 타입 정의

<a id="method-showCrosshairAt"></a>

### showCrosshairAt

Quiet sync API: epoch milliseconds and a zero-based task row; no crosshairMove feedback loop.

```typescript
showCrosshairAt(request: CartesianCrosshairShowRequest): Promise<boolean>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `request` | `CartesianCrosshairShowRequest` | 필수 |

반환 타입: `Promise<boolean>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [CartesianCrosshairShowRequest](https://chart.syidax.com/ko/docs/types/CartesianCrosshairShowRequest.md) — 타입 정의

<a id="method-hideCrosshair"></a>

### hideCrosshair

hide the crosshair shown by `showCrosshairAt` (or the pointer's).

```typescript
hideCrosshair(): Promise<void>
```

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.
