# Scatter 3d

세 연속 측정값을 공간의 점으로 표시합니다.

Canonical: https://chart.syidax.com/ko/docs/components/scatter-3d/

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

## sy-scatter-3d

다변량 관측의 군집과 이상치를 탐색하세요.

2D 투영에서 겹친 점은 회전해 확인하세요. 각 축의 단위를 명시하세요.

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

| 입력 | 데이터 설명 |
| --- | --- |
| `data` | { x, y, z, value?, label? } 배열입니다. |
| `marker` | sphere 또는 cube 모양입니다. |

- [Components에서 실행하기](https://chart.syidax.com/charts/scatter-3d) — 옵션 변경과 프레임워크별 코드
- [공통 설치와 연결](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-scatter-3d.js';
  define0();

  // Pro: 앱 시작 시 발급받은 인증서로 registerLicense를 완료하세요.
  // 홈페이지 미리보기의 인증서는 고객 앱에서 사용하지 않습니다.
  const specs = [
    {
      "id": "example-chart",
      "tag": "sy-scatter-3d",
      "props": {
        "data": [
          {
            "id": "p0",
            "label": "측정 1",
            "x": 0,
            "y": 0,
            "z": 1,
            "value": 0,
            "color": "#8263d9"
          },
          {
            "id": "p1",
            "label": "측정 2",
            "x": 1,
            "y": 0,
            "z": 8,
            "value": 1,
            "color": "#8263d9"
          },
          {
            "id": "p2",
            "label": "측정 3",
            "x": 2,
            "y": 0,
            "z": 6,
            "value": 2,
            "color": "#8263d9"
          },
          {
            "id": "p3",
            "label": "측정 4",
            "x": 3,
            "y": 0,
            "z": 4,
            "value": 3,
            "color": "#8263d9"
          },
          {
            "id": "p4",
            "label": "측정 5",
            "x": 4,
            "y": 0,
            "z": 2,
            "value": 4,
            "color": "#8263d9"
          },
          {
            "id": "p5",
            "label": "측정 6",
            "x": 5,
            "y": 0,
            "z": 9,
            "value": 5,
            "color": "#8263d9"
          },
          {
            "id": "p6",
            "label": "측정 7",
            "x": 0,
            "y": 1,
            "z": 7,
            "value": 6,
            "color": "#8263d9"
          },
          {
            "id": "p7",
            "label": "측정 8",
            "x": 1,
            "y": 1,
            "z": 5,
            "value": 7,
            "color": "#8263d9"
          },
          {
            "id": "p8",
            "label": "측정 9",
            "x": 2,
            "y": 1,
            "z": 3,
            "value": 8,
            "color": "#239c91"
          },
          {
            "id": "p9",
            "label": "측정 10",
            "x": 3,
            "y": 1,
            "z": 1,
            "value": 9,
            "color": "#239c91"
          },
          {
            "id": "p10",
            "label": "측정 11",
            "x": 4,
            "y": 1,
            "z": 8,
            "value": 10,
            "color": "#239c91"
          },
          {
            "id": "p11",
            "label": "측정 12",
            "x": 5,
            "y": 1,
            "z": 6,
            "value": 11,
            "color": "#239c91"
          },
          {
            "id": "p12",
            "label": "측정 13",
            "x": 0,
            "y": 2,
            "z": 4,
            "value": 12,
            "color": "#239c91"
          },
          {
            "id": "p13",
            "label": "측정 14",
            "x": 1,
            "y": 2,
            "z": 2,
            "value": 13,
            "color": "#239c91"
          },
          {
            "id": "p14",
            "label": "측정 15",
            "x": 2,
            "y": 2,
            "z": 9,
            "value": 14,
            "color": "#239c91"
          },
          {
            "id": "p15",
            "label": "측정 16",
            "x": 3,
            "y": 2,
            "z": 7,
            "value": 15,
            "color": "#239c91"
          },
          {
            "id": "p16",
            "label": "측정 17",
            "x": 4,
            "y": 2,
            "z": 5,
            "value": 16,
            "color": "#e99954"
          },
          {
            "id": "p17",
            "label": "측정 18",
            "x": 5,
            "y": 2,
            "z": 3,
            "value": 17,
            "color": "#e99954"
          },
          {
            "id": "p18",
            "label": "측정 19",
            "x": 0,
            "y": 3,
            "z": 1,
            "value": 18,
            "color": "#e99954"
          },
          {
            "id": "p19",
            "label": "측정 20",
            "x": 1,
            "y": 3,
            "z": 8,
            "value": 19,
            "color": "#e99954"
          },
          {
            "id": "p20",
            "label": "측정 21",
            "x": 2,
            "y": 3,
            "z": 6,
            "value": 20,
            "color": "#e99954"
          },
          {
            "id": "p21",
            "label": "측정 22",
            "x": 3,
            "y": 3,
            "z": 4,
            "value": 21,
            "color": "#e99954"
          },
          {
            "id": "p22",
            "label": "측정 23",
            "x": 4,
            "y": 3,
            "z": 2,
            "value": 22,
            "color": "#e99954"
          },
          {
            "id": "p23",
            "label": "측정 24",
            "x": 5,
            "y": 3,
            "z": 9,
            "value": 23,
            "color": "#e99954"
          }
        ],
        "marker": "sphere",
        "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', 'scatter-3d 예제 차트');
    return element;
  });
  container.replaceChildren(...elements);
  const chart = elements.at(-1);
  const onEvent = event => {
    console.log('pointClick', event.detail);
  };
  chart.addEventListener('pointClick', 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('pointClick', onEvent);
    container.replaceChildren();
  }
</script>
```

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

## Properties

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

### data

{ x, y, z, value?, label? } 배열입니다.

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

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

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

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

### width

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

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

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

### height

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

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

<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-colors"></a>

### colors

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `colors` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `HeatmapColorInput` |
| 기본값 | `'viridis'` |

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

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

### colorDomain

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

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

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

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

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

### missingColor

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `missingColor` |
| HTML attribute | `missing-color` |
| 타입 | `string` |
| 기본값 | `'#94a3b8'` |

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

### scatterSize

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

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

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

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

### opacity

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

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

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

### legend

시리즈 또는 항목의 범례 표시 여부입니다.

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

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

### locale

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `locale` |
| HTML attribute | `locale` |
| 타입 | `string` |
| 기본값 | `'en-US'` |

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

### axes

JavaScript 프로퍼티로 전달합니다. 타입: Scatter3DAxesOptions|boolean|string.

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

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

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

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

### marker

sphere 또는 cube 모양입니다.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `marker` |
| HTML attribute | `marker` |
| 타입 | `'sphere'\|'cube'` |
| 기본값 | `'sphere'` |
| 허용값 | `sphere`, `cube` |

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

### markerRadius

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `markerRadius` |
| HTML attribute | `marker-radius` |
| 타입 | `number` |
| 기본값 | `.06` |

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

### markerDetail

HTML attribute 또는 JavaScript 프로퍼티로 설정합니다. 타입: 0|1|2.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `markerDetail` |
| HTML attribute | `marker-detail` |
| 타입 | `0\|1\|2` |
| 기본값 | `1` |

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

### material

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

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

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

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

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

### lighting

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

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

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

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

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

### camera

JavaScript 프로퍼티로 전달합니다. 타입: Scene3DCameraOptions|string.

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

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

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

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

### orbit

JavaScript 프로퍼티로 전달합니다. 타입: Orbit3DOptions|boolean|string.

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

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

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

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

### showEmpty

Whether the component shows its own empty-geometry notice.

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

<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-activeColor"></a>

### activeColor

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

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

<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:Scatter3DHitDetail)=>string.

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

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

- [Scatter3DHitDetail](https://chart.syidax.com/ko/docs/types/Scatter3DHitDetail.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-crosshairSnapDistance"></a>

### crosshairSnapDistance

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `crosshairSnapDistance` |
| HTML attribute | `crosshair-snap-distance` |
| 타입 | `number` |
| 기본값 | `12` |

<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` |
| 타입 | `Scatter3DEasing` |
| 기본값 | `'ease-out'` |
| 허용값 | `linear`, `ease-out`, `ease-in`, `ease-in-out` |

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

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

### animationType

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

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

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

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

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

### streamSource

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

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

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

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

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

### streamMax

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

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

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

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

### engine

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

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

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

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

### unavailable

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

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

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

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

## Events

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

### rendered

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

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

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

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

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

### pointClick

점 선택 이벤트입니다. CustomEvent.detail에서 선택한 데이터와 인덱스를 읽습니다.

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

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

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

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

### pointHover

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

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

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

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

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

### selectionChanged

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

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

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

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

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

### pointContextMenu

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

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

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

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

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

### cameraChange

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

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

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

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

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

### crosshairMove

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

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

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

- [Scatter3DCrosshairDetail](https://chart.syidax.com/ko/docs/types/Scatter3DCrosshairDetail.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-dataValidationError"></a>

### dataValidationError

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

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

```javascript
chart.addEventListener('dataValidationError', event => {
  console.log(event.detail); // {message:string}
});
```

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

## Methods

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

### appendPoint

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

```typescript
appendPoint(point: Scatter3DDatum): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `point` | `Scatter3DDatum` | 필수 |

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

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

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

### appendPoints

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

```typescript
appendPoints(points: ReadonlyArray<Scatter3DDatum>): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `points` | `ReadonlyArray<Scatter3DDatum>` | 필수 |

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

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

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

### appendBatch

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

```typescript
appendBatch(points: ReadonlyArray<Scatter3DDatum>): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `points` | `ReadonlyArray<Scatter3DDatum>` | 필수 |

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

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

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

### shiftPoints

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

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

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

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

<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-clearStream"></a>

### clearStream

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

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

반환 타입: `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(points: ReadonlyArray<Scatter3DDatum>): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `points` | `ReadonlyArray<Scatter3DDatum>` | 필수 |

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

- [Scatter3DDatum](https://chart.syidax.com/ko/docs/types/Scatter3DDatum.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<Scatter3DStreamSource|undefined>
```

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

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

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

### setData

Replace the bar set.

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

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

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

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

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

### getData

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

```typescript
getData(): Promise<Scatter3DDatum[]>
```

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

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

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

### getDiagnostics

Normalization diagnostics for the effective base and stream source.

```typescript
getDiagnostics(): Promise<{ points: number; validPoints: number; missingCoordinates: number; invalidCoordinates: number; missingValues: number; }>
```

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

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

### getLayout

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

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

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

- [Scatter3DGeometry](https://chart.syidax.com/ko/docs/types/Scatter3DGeometry.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-setAnimation"></a>

### setAnimation

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

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

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

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

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

<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-getCamera"></a>

### getCamera

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

```typescript
getCamera(): Promise<Scene3DCameraOptions>
```

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

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

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

### setCamera

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

```typescript
setCamera(options: Scene3DCameraOptions): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `options` | `Scene3DCameraOptions` | 필수 |

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

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

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

### setProjection

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

```typescript
setProjection(projection: Scene3DProjection): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `projection` | `Scene3DProjection` | 필수 |

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

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

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

### resetCamera

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

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

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

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

### saveCamera

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

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

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

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

### fitPoints

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

```typescript
fitPoints(padding?: number): Promise<void>
```

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

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

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

### zoomBy

A factor below one moves closer. Perspective changes distance; orthographic changes zoom.

```typescript
zoomBy(factor: number): Promise<void>
```

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

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

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

### rotateBy

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

```typescript
rotateBy(azimuth: number, polar?: number): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `azimuth` | `number` | 필수 |
| `polar` | `number` | 선택 |

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

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

### panBy

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

```typescript
panBy(x: number, y: number): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `x` | `number` | 필수 |
| `y` | `number` | 필수 |

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

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

### resetZoom

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

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

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

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

### redraw

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

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

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

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

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

### getActiveTier

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

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

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

- [Scatter3DEngineTier](https://chart.syidax.com/ko/docs/types/Scatter3DEngineTier.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-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-recycleGpu"></a>

### recycleGpu

Without the grant (or while frozen) nothing is recycled: no GPU work starts.

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

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

<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<Scatter3DHitDetail|null>
```

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

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

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

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

### selectPointAt

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

```typescript
selectPointAt(index: number): Promise<Scatter3DHitDetail|null>
```

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

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

- [Scatter3DHitDetail](https://chart.syidax.com/ko/docs/types/Scatter3DHitDetail.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<Scatter3DSelection>
```

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

- [Scatter3DSelection](https://chart.syidax.com/ko/docs/types/Scatter3DSelection.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-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-hideTooltip"></a>

### hideTooltip

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

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

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

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

### showCrosshairAt

show the crosshair at a data position (a linked chart's cursor) without emitting `crosshairMove`; false when it falls outside the plot.

```typescript
showCrosshairAt(index: number): Promise<boolean>
```

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

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

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

### showCrosshairAtData

Quiet source-coordinate synchronization. A cloud has no interpolated surface between its points.

```typescript
showCrosshairAtData(request: CartesianCrosshairShowRequest&{dataZ?:number}): Promise<boolean>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `request` | `CartesianCrosshairShowRequest&{dataZ?:number}` | 필수 |

반환 타입: `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로 기다리세요.

<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-getCSV"></a>

### getCSV

The tape as a CSV table (ISO time, OHLC, volume).

```typescript
getCSV(options?: CsvOptions): Promise<string>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `options` | `CsvOptions` | 선택 |

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

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

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

### getTable

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

```typescript
getTable(): Promise<string>
```

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