Jump to content

Bar Graph with Vertical string markers


Recommended Posts

I have to generate some bar graphs that have text as the markers and they have to be vertically aligned under each bar.... a quick check of the graphs i didnt see an easy way to do it. i am looking into using a picture control.... is there an easier/better way ? i hope i am overlooking something...

Dan

Link to comment

Quick thoughts - there is a bar graph example in the example finder, but that has constant labels.

You can have your own labels by using cursors and setting the cursor names to be visible or by overlaying an array over the graph and coloring it transparent. You can then control the width and number of elements shown, but the first method sounds nicer.

Link to comment

Check out the example of how to use annotations on a graph.

C:\Program Files\National Instruments\LabVIEW 8.2\examples\general\graphs\Programmatically Annotate a Graph.vi

I thought this was pretty cool when I first learned of it.

-James

Link to comment

QUOTE(James N @ Mar 2 2007, 08:38 AM)

Check out the example of how to use annotations on a graph.

C:\Program Files\National Instruments\LabVIEW 8.2\examples\general\graphs\Programmatically Annotate a Graph.vi

I thought this was pretty cool when I first learned of it.

-James

Ben , James , Yan

Thanks for the input , after looking into this a little more i have decided to just run with the picture control as i also need to change the bar colors depending on the value...

Have a Great Weekend

Dan

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.