> For the complete documentation index, see [llms.txt](https://docs.coreway.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coreway.com/coreway-table/dashboard/line-chart.md).

# 折線圖

### 1. 圖表介紹

折線圖把每項的數值在圖中用點標記，再用線連接起來，不但可以表示數據的多少，還能清楚地顯示數據的變化趨勢。

### 2. 示例及配置

下面透過一個案例介紹如何製作折線圖。

案例：在採購管理表中，統計各個品類的採購數量。

* 類別分組（X 軸）：選擇按【名稱】
* 統計指標（Y 軸）：採購數量的總和

配置方法：

#### 2.1 新建一個統計

打開圖表設置窗口，圖表類型選擇【折線圖】。

![選擇折線圖](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FyWvC43AwDbHUt0v8yS0W%2Fline-1.png?alt=media)

#### 2.2 設置數據統計全部記錄

範圍選擇時間範圍「創建時間（全部）」，統計數據範圍選擇「全部數據」。

![設置統計範圍](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FDU9JNrNlpjDbCwftnJl7%2Fline-2.png?alt=media)

#### 2.3 設置 X 軸

設置統計值，選擇「名稱」。

![設置 X 軸](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FLgIOvnU1QUTzc6vHGEXE%2Fline-3.png?alt=media)

#### 2.4 設置 Y 軸

設置統計值，選擇「數字」。

![設置 Y 軸](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FtBolpOLgzO3dfX2KHRyR%2Fline-4.png?alt=media)

#### 2.5 預覽及保存

點擊【保存】按鈕，完成配置。

![保存折線圖](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2F2XrOXmWJxez67mv6jjM4%2Fline-5.png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.coreway.com/coreway-table/dashboard/line-chart.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
