咨詢內(nèi)容:
5.4.6PARTLINE函數(shù)的問(wèn)題
ISNEWDAY:= REF(HOUR,1)=15 AND HOUR<>15;
CNT:=BARSLAST(ISNEWDAY)+1;
開(kāi)盤:=VALUEWHEN(CNT=1,OPEN);
A5:=開(kāi)盤+50;
A15:=開(kāi)盤+150;
A20:=開(kāi)盤+200;
B5:=開(kāi)盤-50;
B15:=開(kāi)盤-150;
B20:=開(kāi)盤=200;
PARTLINE(C<A5 AND C>B5,開(kāi)盤),COLOR0000FF;
DRAWNUMBER(BARSTATUS=2 AND C<A5 AND C>B5,開(kāi)盤,開(kāi)盤,0),FONTSIZE10;
PARTLINE(C>A15,A20),COLOR0000FF;
DRAWNUMBER(BARSTATUS=2 AND C>A15,A20,A20,0),FONTSIZE10;
PARTLINE(C<B15,B20),COLOR0000FF;
DRAWNUMBER(BARSTATUS=2 AND C<B15,B20,B20,0),FONTSIZE10;
下圖一個(gè)是5.4.6版本,一個(gè)是5.2.4版本
A20同B20沒(méi)有達(dá)到條件就不應(yīng)該劃線和顯示數(shù)值
5.2.4版本正常
5.4.6就出問(wèn)題了
希望盡快拿出解決方案
謝謝
博易技術(shù)人員:
ISNEWDAY:= REF(HOUR,1)=15 AND HOUR<>15;
CNT:=BARSLAST(ISNEWDAY)+1;
開(kāi)盤:=VALUEWHEN(CNT=1,OPEN);
A5:=開(kāi)盤+50;
A15:=開(kāi)盤+150;
A20:=開(kāi)盤+200;
B5:=開(kāi)盤-50;
B15:=開(kāi)盤-150;
B20:=開(kāi)盤-200;
PARTLINE(C<A5 AND C>B5,開(kāi)盤),COLOR0000FF;
DRAWNUMBER(BARSTATUS=2 AND C<A5 AND C>B5,開(kāi)盤,開(kāi)盤,0),FONTSIZE10;
PARTLINE(C>A15,A20),COLOR0000FF;
DRAWNUMBER(BARSTATUS=2 AND C>A15,A20,A20,0),FONTSIZE10;
PARTLINE(C<B15,B20),COLOR0000FF;
DRAWNUMBER(BARSTATUS=2 AND C<B15,B20,B20,0),FONTSIZE10;
這個(gè)才是正確的
下面是5.4.6版本圖