취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

generate vertical lines on a graph using VB script

Hello,

I want to draw vertical lines onto a 2d-axis graph in the report I create with my script. The lines need to be at two x values I calculate with my script. Are there any code examples of this?

Thanks,

Matt
0 포인트
1/4 메시지
4,423 조회수
Hello Matt,

Please store the two calculated values into a new channel and create another one to specify the corresponding X values. Then just draw that curve.

Greeings
Walter
0 포인트
2/4 메시지
4,395 조회수

Hi Matt,

Alternatively, try using the "Constant" curve type and specify either the value of the X coordinate or an expression that will resolve to that value in the "X-constant" field of the curve configuration.  If you want to draw vertical lines at the same X coordinates over and over again, this may be even simpler than creating channel data.

Brad Turpin
DIAdem Product Support Engineer
National Instruments

 

0 포인트
3/4 메시지
4,383 조회수
got it working, thanks for the help!
0 포인트
4/4 메시지
4,377 조회수