LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
donkdonk

Digital display locked to chart legend (as an option)

Status: New

Re-opening because LabVIEW NXG has been discontinued.

Digital display Misalignment.png

Digital display Misalignment solution.png

 

In the old days the digital display was automatically aligned with the plot legend (if I remember well). Now it is by default not.

It takes some manual alignment actions to get them right. But don't resize your chart!! You can start all over again.

 

I propose the option to align the digital display as shown in the last picture.

 

(BTW, looking for duplicates I found one comment in http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Assembly-of-the-graph-s-plots/idc-p/1085440)

 

19 Comments
Korsar
Member

@ donkdonk

 

Thanks for your help, but that was That what I already tried and after starting the programm it was looking worse as before.

But I found another workaround. 

Property Node, as shown below

 

Korsar_0-1605631246127.png

Here you can position each digital indicator , give a Format and even (not shown here) make it visible or not.

The only thing what is not possible to change the hight and the width of the indicator (or I did'nt found it)

Hope that gets you further

 

 

donkdonk
Member

@ Korsar,

 

Thanks for your workaround.

This is exactly why my idea is declined.

Your solution is not considered a workaround but just as a legitimate way to handle this. Furthermore -almost as an excuse- it is stated that LabVIEW has "many issues around creating a good layout" and that "LabVIEW NXG is better suited to handle good layout design".

I think that the chart is one of LabVIEW's basic and powerful tools to easily present data. In my opinion this digital display issue is a disgrace to that powerful tool.

BASE10
Member

Here is the code I ended up with. It turns out that you can set the width and height of the digital displays but the property for that isn't in an obvious place. It took me quite a while to discover!

Legend.PNG

Given a reference to a chart, this code will lay out the digital displays based on the size and position of the legend. It is set up to work nicely with the "NXG Style" charts but could be easily be tweaked to work with different ones, just a matter of adjusting for the different margin sizes and border widths. I hope this is useful.

DigitalDisplay.png

Just in case you haven't discovered it yet, if you download this image and drag it onto the block diagram it will actually load properly like magic. (lookup "Create VI Snippet" for more information)

toddy
Member

I wonder if this idea could be un-declined now that NXG is being discontinued? This workaround is really useful, but it's utterly ridiculous that it's needed in the first place!

Christina_R
Active Participant
Status changed to: New

Re-opening because LabVIEW NXG has been discontinued.


Christina Rogers
Principal Product Owner, LabVIEW R&D
wiebe@CARYA
Knight of NI

Status changed to: New

Re-opening because LabVIEW NXG has been discontinued.

Kudos (on the idea as well as comments) are still disabled.

Christina_R
Active Participant

I apologize for not re-enabling the kudos when I re-opened the idea! I think it's fixed now.


Christina Rogers
Principal Product Owner, LabVIEW R&D
donkdonk
Member

Wow, after so many years my idea is alive and kicking 😅

James@Work.
Member

I happened across this today while looking for something else, but had to add a few Kudos as it's something I can use, even just in development.  I have a project that needed another column of indicators between the legend and digital displays, so I added another control for spacing and also merged the previous mention for controlling visibility.

DigitalDisplayPlus.png

Thanks for sharing your ideas!!

 

James

 

New Job, new NI profile, I guess sit's time to create a new signature 🤣