# 8.6 Trend Chart

**Introduction**

Trend chart function is used for displaying the real-time data in HMI as curve graph, which X axis represent as time, Y axis represent as data.

Recipe function settings will be display in \[[Trend Chart](https://wecon.gitbook.io/pistudio-manual/6.-object/6.3-charts/6.3.7-trend-chart)] object.

**Description**

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-Lv4ejKFfKUbIvM7MFbU%2F-Lv4eqARrb4POfKkgfU4%2F0.png?generation=1575274374460677\&alt=media)

**1) Basic settings**

**Curve Name:** It is for setting curve name; Enter suitable text for the name, but the length limitation is 31 bytes;

**Curve (1\~8):** It is for setting the number of curves, the default is 3;

**Dots of one curve:** It is for setting dots number of each curve, the default is 1000, but the maximum dots are 10,000 for all the curves;

**2) Sampling type**

It is for setting sampling type for curve chart, there are two types, one is Cycle sample, and the other is Trigger cycle sample. If users select Trigger cycle same mode, it requires a control bit for it, as following picture shows.

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-Lv4ejKFfKUbIvM7MFbU%2F-Lv4eqASVm3ck4NMQ1G5%2F1.png?generation=1575274374459000\&alt=media)

**3) Quick setting**

it is for setting all the curves, select the data format for all curves, and setting the reading addresses for curves.

**For example:**

Users set HDW0 as start address, and the data format is 16-bit signed, then the HDW0 is for Curve 1, HDW1 is for Curve2, HDW2 is for Curve 3.

**4) Right side window:** It is for setting curves one by one;

**Operating procedure**

1\) Click \[Project] -> \[Trend Chart] to open the function selecting windows;

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-Lv4ejKFfKUbIvM7MFbU%2F-Lv4eqATLGf7GycMRPc-%2F2.png?generation=1575274374492217\&alt=media)

2\) Click \[Add] button to open \[Trend Chart] setting windows;

![](https://3950998874-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fpi-series-user-manual%2F-Lv4ejKFfKUbIvM7MFbU%2F-Lv4eqAUIb4U6ERoGYVv%2F3.png?generation=1575274374470142\&alt=media)

3\) Setting the function of trend chart;

4\) Click \[OK] to save the setting;

**Trend Chart demo download link**

<https://drive.google.com/open?id=1smnaAvSxOWC0WQK4\\_uvqHXWn4vUZxGJC>


---

# 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://wecon.gitbook.io/pistudio-manual/8.-basic-functions/8.6-trend-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.
