ptPauseTrend() 函数
- Last UpdatedSep 24, 2024
- 1 minute read
在脚本中,ptPauseTrend() 函数可用于使“16 笔趋势”暂时停止更新图形。趋势保持停止状态,直到使用 0 值再次调用 ptPauseTrend。
类别
笔趋势
语法
ptPauseTrend(TrendName, Value);
参数
TrendName
趋势对象的名称。TrendName 必须是字符串常量或消息标记。
值
值为 1 时暂停更新趋势。值为 0 时恢复更新趋势。
示例
本例在 Value 参数为 1 期间,暂停对“16 笔趋势”的任何进一步更新。
ptPauseTrend ("TrendName",1);