# Area

변화의 흐름과 규모를 면적으로 보여줍니다.

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

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

## sy-area-chart

트래픽·매출처럼 시간에 따른 규모를 함께 읽을 때 사용하세요.

겹치는 면적이 뒷 시리즈를 가릴 수 있습니다. 정확한 비교는 툴팁과 데이터 표를 함께 사용하세요.

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

| 입력 | 데이터 설명 |
| --- | --- |
| `series` | 각 시리즈의 values는 시간 순서의 값입니다. |
| `xAxis` | 시리즈와 같은 길이의 categories를 지정합니다. |
| `yAxis` | 면적의 기준이 되는 값 축입니다. |

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

  const specs = [
    {
      "id": "example-chart",
      "tag": "sy-area-chart",
      "props": {
        "engine": "standard",
        "series": [
          {
            "name": "온라인",
            "values": [24, 29, 27, 38, 43, 40],
            "color": "#8263d9"
          },
          {
            "name": "매장",
            "values": [15, 19, 17, 24, 22, 29],
            "color": "#239c91"
          }
        ],
        "xAxis": {
          "kind": "category",
          "categories": ["1월", "2월", "3월", "4월", "5월", "6월"]
        },
        "yAxis": {
          "kind": "linear",
          "min": 0
        },
        "legend": 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', 'area 예제 차트');
    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-series"></a>

### series

각 시리즈의 values는 시간 순서의 값입니다.

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

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

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

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

### activeSeriesIndex

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `activeSeriesIndex` |
| HTML attribute | `active-series-index` |
| 타입 | `number` |
| 기본값 | `undefined` |

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

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

### seriesState

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

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

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

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

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

### seriesActiveTrigger

허용값: hover, click, custom. 기본값: 'hover'.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `seriesActiveTrigger` |
| HTML attribute | `series-active-trigger` |
| 타입 | `AreaChartSeriesActiveTrigger` |
| 기본값 | `'hover'` |
| 허용값 | `hover`, `click`, `custom` |

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

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

### values

단일 시리즈의 값을 전달합니다. Line의 숫자 배열, Scatter의 좌표 배열 등 선택한 차트 종류에 맞는 타입을 사용합니다. 배열과 객체는 JavaScript 프로퍼티로 할당하세요.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `values` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `AreaChartValues` |
| 기본값 | `new Float32Array(0)` |

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

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

### width

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

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

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

### height

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

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

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

### color

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

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

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

### fillColor

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `fillColor` |
| HTML attribute | `fill-color` |
| 타입 | `string` |
| 기본값 | `undefined` |

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

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

### fillOpacity

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

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

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

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

### fillGradient

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

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

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

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

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

### fillPattern

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

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

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

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

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

### patternKind

허용값: dots, diagonal, cross-hatch, diagonal-forward, diagonal-backward, fill. 기본값: undefined.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `patternKind` |
| HTML attribute | `pattern-kind` |
| 타입 | `AreaChartPatternKind` |
| 기본값 | `undefined` |
| 허용값 | `dots`, `diagonal`, `cross-hatch`, `diagonal-forward`, `diagonal-backward`, `fill` |

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

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

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

### patternColor

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `patternColor` |
| HTML attribute | `pattern-color` |
| 타입 | `string` |
| 기본값 | `undefined` |

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

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

### patternBackground

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `patternBackground` |
| HTML attribute | `pattern-background` |
| 타입 | `string` |
| 기본값 | `undefined` |

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

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

### patternSize

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `patternSize` |
| HTML attribute | `pattern-size` |
| 타입 | `number` |
| 기본값 | `undefined` |

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

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

### patternThickness

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `patternThickness` |
| HTML attribute | `pattern-thickness` |
| 타입 | `number` |
| 기본값 | `undefined` |

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

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

### thickness

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

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

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

### marker

허용값: none, circle, square, triangle, cross, diamond, star. 기본값: 'none'.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `marker` |
| HTML attribute | `marker` |
| 타입 | `LineChartMarker` |
| 기본값 | `'none'` |
| 허용값 | `none`, `circle`, `square`, `triangle`, `cross`, `diamond`, `star` |

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

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

### markerSize

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `markerSize` |
| HTML attribute | `marker-size` |
| 타입 | `number` |
| 기본값 | `4` |

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

### markerFilter

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

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

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

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

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

### baseline

Value the area is anchored to (line at `yScale(baseline)`). Always explicit (default `0`) so the rendered start point is never ambiguous.

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

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

### connectNulls

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

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

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

### engine

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

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

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

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

### proThreshold

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `proThreshold` |
| HTML attribute | `pro-threshold` |
| 타입 | `number` |
| 기본값 | `100_000` |

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

### unavailable

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

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

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

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

### streamSource

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

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

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

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

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

### streamWindow

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

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

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

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

### streamMax

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

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

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

<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` |
| 기본값 | `200` |

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

### animationEasing

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

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

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

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

### animationType

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

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

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

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

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

### legend

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

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

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

### legendPosition

범례를 배치할 위치입니다.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `legendPosition` |
| HTML attribute | `legend-position` |
| 타입 | `AreaChartLegendPosition` |
| 기본값 | `'bottom'` |
| 허용값 | `top`, `bottom`, `left`, `right`, `float` |

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

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

### legendItems

JavaScript 프로퍼티로 전달합니다. 타입: LegendItem[].

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

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

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

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

### seriesName

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

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `seriesName` |
| HTML attribute | `series-name` |
| 타입 | `string` |
| 기본값 | `undefined` |

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

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

### legendFloatAlign

허용값: start, center, end. 기본값: 'end'.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `legendFloatAlign` |
| HTML attribute | `legend-float-align` |
| 타입 | `'start' \| 'center' \| 'end'` |
| 기본값 | `'end'` |
| 허용값 | `start`, `center`, `end` |

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

### legendFloatVerticalAlign

허용값: top, bottom, middle. 기본값: 'top'.

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `legendFloatVerticalAlign` |
| HTML attribute | `legend-float-vertical-align` |
| 타입 | `'top' \| 'middle' \| 'bottom'` |
| 기본값 | `'top'` |
| 허용값 | `top`, `bottom`, `middle` |

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

### legendDraggable

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

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

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

### xAxis

시리즈와 같은 길이의 categories를 지정합니다.

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

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

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

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

### yAxis

면적의 기준이 되는 값 축입니다.

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

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

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

### gridLines

허용값: auto, off. 기본값: undefined.

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

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

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

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

### zoom

zoom: `'x'` | `'y'` | `'xy'` | `true` (x) enable the drag rectangle + keyboard (`+` / `-` / `Escape`) on the primary axes; an object refines `mode` / `drag` / `keyboard` / `minRangePx` / `resetButton`. Off by default. `zoomTo` / `zoomBy` / `resetZoom` work regardless of the gesture switches.

| 항목 | 값 |
| --- | --- |
| 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-brush"></a>

### brush

brush selection: 'rect' | true | { type, mode, modifier, minSizePx, keyboard, clearOnClick }; off by default.

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

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

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

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

### drawings

the drawing document: a list of drawings, a serialized envelope, or a JSON string of either (replaces the document; the history restarts).

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

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

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

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

### drawingMode

the pointer disposition: 'none' (default), 'draw' (the plain drag places `drawingTool`; precedence drawing > brush > zoom > pan), 'select' ().

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `drawingMode` |
| HTML attribute | 객체·배열·콜백은 JavaScript 프로퍼티로 전달 |
| 타입 | `DrawingModeInput` |
| 기본값 | `undefined` |
| 타입에 포함된 리터럴 | `none`, `off`, `true`, `false`, `draw`, `select` |

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

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

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

### drawingTool

the tool `drawingMode="draw"` places (a registered tool name; default 'segment').

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `drawingTool` |
| HTML attribute | `drawing-tool` |
| 타입 | `string` |
| 기본값 | `undefined` |

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

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

### drawingSpace

the space new drawings are anchored in: 'data' (default — the primary axes) or 'pixel' (offsets from the plot's top-left; they stay put under zoom, pan and data changes).

| 항목 | 값 |
| --- | --- |
| JavaScript 프로퍼티 | `drawingSpace` |
| HTML attribute | `drawing-space` |
| 타입 | `DrawingSpace` |
| 기본값 | `undefined` |
| 허용값 | `data`, `pixel` |

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

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

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

### visualMap

a visual map binding (a `sy-visual-map` snapshot + the data dimension): every mark is coloured through it.

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

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

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

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

## Events

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

### rendered

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

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

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

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

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

### appended

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

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

```javascript
chart.addEventListener('appended', event => {
  console.log(event.detail); // { count: 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-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-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="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-zoomChange"></a>

### zoomChange

fired after every zoom change (drag / keyboard / api / reset) with the new state.

이벤트 이름: `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-brushChange"></a>

### brushChange

the brush areas / selection changed (drag, api, clear, keyboard).

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

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

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

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

### brushStart

a brush drag opened up (once per gesture).

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

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

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

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

### brushMove

a live frame of the drag (throttled; the selection only with `liveSelection`).

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

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

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

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

### brushEnd

the drag released (after `brushChange`), or was cancelled.

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

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

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

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

### drawingsChange

the drawing document changed (a placement, the api, undo / redo, clear, the prop).

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

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

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

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

### drawingSelectionChange

the drawing selection changed (a click, a marquee, the api, Escape, a document change pruning it).

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

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

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

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

### pointHover

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

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

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

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

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

### pointClick

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

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

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

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

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

### pointContextMenu

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

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

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

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

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

### seriesOutsideClick

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

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

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

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

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

### legendItemClick

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

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

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

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

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

### seriesToggled

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

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

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

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

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

## Methods

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

### appendPoint

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

```typescript
appendPoint(value: number): Promise<void>
```

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

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

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

### appendBatch

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

```typescript
appendBatch(values: ReadonlyArray<number> | Float32Array): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `values` | `ReadonlyArray<number> \| Float32Array` | 필수 |

반환 타입: `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-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(values: ReadonlyArray<number> | Float32Array): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `values` | `ReadonlyArray<number> \| Float32Array` | 필수 |

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

<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<AreaChartStreamSource | undefined>
```

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

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

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

### getEngineStatus

The requested engine, the engine that draws and why . A Chart Pro license decision names `chart.webgpu` and its state; renderer causes (not in this build, no WebGPU, a failed GPU) stay apart.

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

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

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

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

### setAnimation

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

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

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

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

- [AreaChartEasing](https://chart.syidax.com/ko/docs/types/AreaChartEasing.md) — 타입 정의
- [AreaChartAnimationType](https://chart.syidax.com/ko/docs/types/AreaChartAnimationType.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-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(pointIndex: number): Promise<CartesianTooltipEventDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `pointIndex` | `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-zoomTo"></a>

### zoomTo

zoom to explicit windows: `x` / `y` as `{ min, max }` or `[min, max]` (`null` clears that orientation); `xAxis` / `yAxis` name the axis by id or slot index (default: the primary axis).

```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 data units (`{ 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 extent (and key) of the primary — or the named — master axes (`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-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(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로 기다리세요.

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

### getDrawings

the drawings of the document (data-space anchors).

```typescript
getDrawings(): Promise<ChartDrawing[]>
```

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

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

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

### setDrawings

replace the document from script (`null` clears); the history keeps the previous document as an undo step.

```typescript
setDrawings(drawings: ReadonlyArray<ChartDrawingInput> | null): Promise<DrawingsChangeEventDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `drawings` | `ReadonlyArray<ChartDrawingInput> \| null` | 필수 |

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

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

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

### addDrawing

add one drawing (an explicit id replaces); answers the resolved drawing, or null when the input was malformed.

```typescript
addDrawing(drawing: ChartDrawingInput): Promise<ChartDrawing | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `drawing` | `ChartDrawingInput` | 필수 |

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

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

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

### updateDrawing

merge a patch into one drawing (anchors, style, visible, locked, options, meta).

```typescript
updateDrawing(id: string, patch: Partial<Omit<ChartDrawing, 'id'>>): Promise<ChartDrawing | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `id` | `string` | 필수 |
| `patch` | `Partial<Omit<ChartDrawing, 'id'>>` | 필수 |

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

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

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

### removeDrawing

remove one drawing.

```typescript
removeDrawing(id: string): Promise<boolean>
```

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

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

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

### removeDrawings

remove several drawings in one undoable step (locked / unknown ids are skipped); the selection prunes itself.

```typescript
removeDrawings(ids: ReadonlyArray<string>): Promise<DrawingsChangeEventDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `ids` | `ReadonlyArray<string>` | 필수 |

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

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

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

### setDrawingSpace

move a drawing to the other coordinate space at the current frame (its anchors convert, nothing moves on screen); one undoable step.

```typescript
setDrawingSpace(id: string, space: DrawingSpace): Promise<ChartDrawing | null>
```

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

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

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

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

### clearDrawings

clear the document (undoable).

```typescript
clearDrawings(): Promise<DrawingsChangeEventDetail | null>
```

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

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

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

### undoDrawing

undo the last document change; null when there is nothing to undo.

```typescript
undoDrawing(): Promise<DrawingsChangeEventDetail | null>
```

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

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

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

### redoDrawing

redo the last undone change; null when there is nothing to redo.

```typescript
redoDrawing(): Promise<DrawingsChangeEventDetail | null>
```

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

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

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

### getDrawingLayer

the drawing overlay as a standalone SVG layer in host pixels (selection chrome and the placement preview stripped; null without drawings) — what the facade composes into the image export.

```typescript
getDrawingLayer(): Promise<DrawingLayerSnapshot | null>
```

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

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

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

### exportDrawings

the document as its versioned JSON envelope (feed it back through `drawings` or `importDrawings`).

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

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

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

### importDrawings

replace the document from an envelope / list / JSON string (undoable; malformed rows drop).

```typescript
importDrawings(input: ChartDrawingsInput): Promise<DrawingsChangeEventDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `input` | `ChartDrawingsInput` | 필수 |

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

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

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

### selectDrawings

select drawings from script (`null` / `[]` clears); unknown ids are dropped.

```typescript
selectDrawings(ids: ReadonlyArray<string> | null): Promise<DrawingSelectionChangeEventDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `ids` | `ReadonlyArray<string> \| null` | 필수 |

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

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

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

### getDrawingSelection

the selected drawing ids.

```typescript
getDrawingSelection(): Promise<string[]>
```

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

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

### setBrush

replace the brush areas from script (`null` clears); `brushChange` fires with source 'api'.

```typescript
setBrush(areas: ReadonlyArray<CartesianBrushAreaInput> | null): Promise<CartesianBrushChangeEventDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `areas` | `ReadonlyArray<CartesianBrushAreaInput> \| null` | 필수 |

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

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

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

### clearBrush

clear the brush areas (`brushChange` with source 'clear').

```typescript
clearBrush(): Promise<CartesianBrushChangeEventDetail | null>
```

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

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

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

### getBrush

the persisted brush areas (primary data space).

```typescript
getBrush(): Promise<CartesianBrushArea[]>
```

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

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

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

### getBrushSelection

the points inside the brush areas, against the current layout.

```typescript
getBrushSelection(): Promise<CartesianBrushSelectedSeries[]>
```

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

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

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

### setVisualMap

Bind (or clear) a visual map: every mark is coloured through it on the next paint.

```typescript
setVisualMap(binding: VisualMapBinding | null): Promise<VisualMapBinding | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `binding` | `VisualMapBinding \| null` | 필수 |

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

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

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

### getVisualMap

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

```typescript
getVisualMap(): Promise<VisualMapBinding | null>
```

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

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

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

### getVisualExtent

The extent of a dimension over the visible points — what a bound `sy-visual-map` adopts as its domain.

```typescript
getVisualExtent(request?: VisualMapExtentRequest): Promise<VisualMapExtent | null>
```

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

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

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

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

### redraw

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

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

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

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

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

### getActiveTier

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

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

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

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

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

### addSeries

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

```typescript
addSeries(options: AreaChartSeries, opts?: { redraw?: boolean; insertAt?: number }): Promise<number>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `options` | `AreaChartSeries` | 필수 |
| `opts` | `{ redraw?: boolean; insertAt?: number }` | 선택 |

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

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

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

### removeSeries

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

```typescript
removeSeries(idOrIndex: string | number, opts?: { redraw?: boolean }): Promise<boolean>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `idOrIndex` | `string \| number` | 필수 |
| `opts` | `{ redraw?: boolean }` | 선택 |

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

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

### updateSeries

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

```typescript
updateSeries(idOrIndex: string | number, patch: Partial<AreaChartSeries>, opts?: { redraw?: boolean }): Promise<boolean>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `idOrIndex` | `string \| number` | 필수 |
| `patch` | `Partial<AreaChartSeries>` | 필수 |
| `opts` | `{ redraw?: boolean }` | 선택 |

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

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

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

### setSeriesData

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

```typescript
setSeriesData(idOrIndex: string | number, data: AreaChartValues, opts?: { redraw?: boolean }): Promise<boolean>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `idOrIndex` | `string \| number` | 필수 |
| `data` | `AreaChartValues` | 필수 |
| `opts` | `{ redraw?: boolean }` | 선택 |

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

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

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

### addPoint

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

```typescript
addPoint(idOrIndex: string | number, point: number, opts?: { shift?: boolean; redraw?: boolean }): Promise<boolean>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `idOrIndex` | `string \| number` | 필수 |
| `point` | `number` | 필수 |
| `opts` | `{ shift?: boolean; redraw?: boolean }` | 선택 |

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

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

### showSeries

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

```typescript
showSeries(idOrIndex: string | number, opts?: { redraw?: boolean }): Promise<boolean>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `idOrIndex` | `string \| number` | 필수 |
| `opts` | `{ redraw?: boolean }` | 선택 |

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

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

### hideSeries

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

```typescript
hideSeries(idOrIndex: string | number, opts?: { redraw?: boolean }): Promise<boolean>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `idOrIndex` | `string \| number` | 필수 |
| `opts` | `{ redraw?: boolean }` | 선택 |

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