DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Display x-channel in VIEW legend?

Additional:

I have been looking for ways to change the line width of the plotted channels in the VIEW, but unfortunately I can't find a solution. Is there a way to change the line width the VIEW?

With kind regards,

Stijn

0 Kudos
Message 11 of 14
(1,303 Views)

Hi Stijjn,

 

No, as of DIAdem 2015, graphs in VIEW can only draw curves with one line width.  If you don't have too many data points, you can add square, filled markers to make the curves show thicker, but that's about all I have to suggest.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

Message 12 of 14
(1,298 Views)

Hello Brad,

 

 

Attached the script & user dialog box I created to do adjustments in the View / View legend.

 

 

Is it possible to do the next adjustments automatically?

- Change the distance from the Y-axis to the left with the maximum amount of digits of the selected channels

- Change the legend width with the length of the channel name from the channel with the longest name

 

 

Is it possible to pre select some of the checkboxes?

 

 

Thanks!

 

 

With kind regards,

Stijn

 

0 Kudos
Message 13 of 14
(1,291 Views)

Hi Guys,

 

You can set or preset the CheckboxControlName.Value = 1 to check the checkbox.  You can do that interactively in the property table of the SUDialog editor and save the *.sud file, or you can do that programmatically in the initialization callback.

 

You can try to come up with a script to scale the legend width according to the channel name lengths, but that will be hit or miss and probably will depend on screen resolution, etc.

 

It is possible to set the Y axis location from the left side programmatically, but I don't know of any way to determine how many digits are shown at any given time.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

Message 14 of 14
(1,278 Views)