# Block Trend

The Block Trend operation draws/clears an individual or all channels on the desired block trend graph.

Note:

For information on the naming convention and script keywords, refer to the following.
Naming Conventions

##### Block

##### Text

refreshBlockTrend(BLOCKTREND,[],$Enums.DrawMode.ClearAndDraw);
1 2 3

1: Block Trend Select target Block Trend. 2: Channel Select the channel that displays in the Block Trend. 3: Operation Select the Clear and Draw operation

(Example)

##### Block

##### Text

refreshBlockTrend($GraphicObject.BlockTrend1,[$Enums.Channels.All],$Enums.DrawMode.ClearAndDraw);

- Clear And Draw
- Clear
- Draw

Note: If multiple triggers cause the overlap of the execution timing of [Block Trend] operations on the same Block Trend object, the latter [Block Trend] operations are skipped.

If multiple triggers cause the overlap of the execution timing of [Block Trend] operations on different Block Trend objects, or if the execution timing of [Block Trend] operations on the same Block Trend object do not overlap, the latter [Block Trend] operations are executed.

## Clear And Draw

This operation allows you to clear the plotted graph and plots again.

##### Block

[Clear And Draw]

##### Text

'$Enums.DrawMode.ClearAndDraw'

### Clear And Draw Operation

### Updated array variable values

### Clear And Draw Operation

## Clear

This operation allows you to clear the plotted graph.

##### Block

[Clear]

##### Text

'$Enums.DrawMode.Clear'

### Clear And Draw Operation

### Clear Operation

## Draw

This operation allows you to plot the graph. A graph is always added.

##### Block

[Draw]

##### Text

'$Enums.DrawMode.Draw'

### Clear And Draw Operation

### Updated array variable values

### Draw Operation