LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph Point Style and Line Style Enums

When programmatically setting point and line styles for graph plots and cursors, the integer values for those style settings can be hard to use. I have created enums for these, and provide them here in case anyone might find them useful.

 

Here's an example of how they look in code:

littlesphaeroid_0-1717621672539.png

 

_____________
Creator of the BundleMagic plugin for LabVIEW!
Message 1 of 7
(489 Views)

Thank you.  Can you "Save for Previous Version" and specify LabVIEW 2019?  I also use 2021, but if 2019 works, even more users would benefit ...

 

Bob Schor

Message 2 of 7
(454 Views)

@Bob_Schor wrote:

Thank you.  Can you "Save for Previous Version" and specify LabVIEW 2019?  I also use 2021, but if 2019 works, even more users would benefit ...

 

Bob Schor


I would appreciate

0 Kudos
Message 3 of 7
(430 Views)

Thank you for sharing, littlesphaeroid.

Why not save to the earliest possible version? It's just a simple enum, should be ok for all.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 4 of 7
(422 Views)

I have taken the liberty to convert littlesphaeroid's

.ctl to Labview 2020

now we need the same for Plot.PointStyle and Plot.Interp 😉

0 Kudos
Message 5 of 7
(392 Views)

Sorry, it's been awhile since I posted, and I forgot to backsave for a previous version. Turns out that you actually need to use a ring instead of an enum to get this to work properly, so I am attaching the rings.

 

It's long bothered me that this doesn't exist, as not having easy to read selectors makes automating graph presentation tedious. 

 

Enjoy!

 

 

_____________
Creator of the BundleMagic plugin for LabVIEW!
Download All
0 Kudos
Message 6 of 7
(372 Views)

What would be really cool is if you could create a picture ring whose representation on the BD is also a picture ring!

_____________
Creator of the BundleMagic plugin for LabVIEW!
0 Kudos
Message 7 of 7
(371 Views)