# TradingViewChart 컴포넌트

## `TradingViewChart` 추가하기

`TradingViewChart`는 `.add_trading_view_chart()` 메서드를 통해 추가할 수 있습니다.

## 속성

`.add_trading_view_chart()` 메서드는 다음과 같은 속성을 지원합니다.

| 속성명      | 설명                              | 필수/선택 |
| -------- | ------------------------------- | ----- |
| symbol   | 종목 심볼                           | 필수    |
| position | (row, col, width, height) 위치 튜플 | 선택    |

`symbol`에는 표시할 종목의 심볼을 입력하며, `position`에는 컴포넌트의 위치(행, 열)와 크기(가로, 세로)를 튜플로 지정합니다.

## 사용 예제 코드

```python
# AAPL 종목, 자동 배치
dashboard.add_trading_view_chart("AAPL")

# AAPL 종목, 0행 0열 6x4 크기
dashboard.add_trading_view_chart("AAPL", position=(0, 0, 6, 4))
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://programgarden-dashboard.gitbook.io/docs/component/trading-view-chart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
