|
|
void SetIndexEmptyValue( int index, double value)
设置图画线省缺值。省缺值不得出或不被显示在DataWindow 。省缺值是EMPTY_VALUE。
参数:
index - 索引线。必须在0至7之间。
value - 新 "省缺值"。
示例:
int init()
{
//----2个添加缓冲
SetIndexBuffer(0,ExtUppperBuffer);
SetIndexBuffer(1,ExtLowerBuffer);
//---- 画出参量设置
SetIndexStyle(0,DRAW_ARROW);
SetIndexArrow(0,217);
SetIndexStyle(1,DRAW_ARROW);
SetIndexArrow(1,218);
//---- 值0 不显示
SetIndexEmptyValue(0,0.0);
SetIndexEmptyValue(1,0.0);
//---- 在DataWindow窗口不显示
SetIndexLabel(0,"Fractal Up");
SetIndexLabel(1,"Fractal Down");
//---- 初始化完成
return(0);
}复制代码 |
|