1) I find that if the length is too large (more than 30 characters), the label will not be set on a graph. Is there a way around it? 2) also, can I display more than one line of text?
You should be able to set the label with a text string greater than 30 characters, i tried this out in CVI 6. Have you tried using SetCtrlAttribute to change the label? You should be able to use \n to send it to a new line.
hi thanks for the answer I have CVI 5.01 or something. I am able to change the label with SetCtrlVal but again, it does not work with either \n or if there are more than 30 characters.. if anyone could verify this or have a way around it, would appreciate it
I might have misunderstood the problem, you were talking about the labels on the x-axis, I described the main control label. The axis labels are limited only to 31 characters, the only way around it would be to place a text box over the label and set that to what you need.
thanks for the reply. I have a follow up question. Is there a way to capture all the content of a panel to a image file (bmp, jpg, or gif)? I have found an example to save a graph to a bitmap file but it does not save any other control..
Bilal I am not able to make sense of PrintPanel().. if I print to a file, can it be an image file (that can be opened by an image viewer)? I have cvi5.0 by the way.