LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph axis label in report generator

Solved!
Go to solution

HI,

 

can someone help me with my problem ?

I need to add axis labels into graph that i made by Labview Report generator. Is there any possibility to do that ?

Thank you a lot.

 

 

Patrik 🙂

0 Kudos
Message 1 of 7
(4,701 Views)

patobir a écrit :

HI,

 

can someone help me with my problem ?

I need to add axis labels into graph that i made by Labview Report generator. Is there any possibility to do that ?

Thank you a lot.

 

 

Patrik 🙂


Use Excel Set Graph Font.vi or Word Set Graph Font.vi.

 

Ben64

0 Kudos
Message 2 of 7
(4,411 Views)

Thank you,

 

i tried to use this .vi, but i didnt find solution how to use it for axis label generation. Can you tell me which input i have to use, or which blocks i need to add to this .vi to solve my problem ?

 

Thank you 🙂

0 Kudos
Message 3 of 7
(4,342 Views)
Solution
Accepted by patobir

I'm assuming you are making the graph in Excel.  The LabVIEW Report Generation Toolkit gives you a limited set of "hooks" into making an Excel Graph -- it actually makes an "Object" that has a limited set of formatting options, but is quick and easy to use.  If you need a more detailed plot, you are probably better off writing an Excel macro to generate the plot from Excel data, then using LabVIEW to sae the data to Excel and then execute this "plotting macro" to make the fancy plot.

 

Here, however, is how to make a "simple" plot.  The For loop generates some data that is plotted (after  transposing the data to give an X array and a Y array) with Insert Graph, where I also set the Graph Title.  I then specify a label for the X ("Category") and Y ("Value") axes, resulting in the plot shown below.

Excel Graph.pngExample Graph.png

 

Bob Schor

0 Kudos
Message 4 of 7
(4,322 Views)

Perfect, thank you a lot 🙂

0 Kudos
Message 5 of 7
(4,292 Views)

@poloso2617 wrote:

I think I should again comment.


I think I should disagree. 

 

You have made two almost-identical comments to a question that was asked and answered (with a marked "solution") seven years ago.  Your comments are also more-or-less the same comments (word-for-word) as the original marked "solution".  I see you are a new member -- please read the Informal Forum Rules and Guidelines .

 

Bob Schor

0 Kudos
Message 6 of 7
(1,875 Views)

@Bob_Schor wrote:

Your comments are also more-or-less the same comments (word-for-word) as the original marked "solution". 

That, as well as the other things, should generally be a red flag that this might be spam, which was the case here (there were links in the text).  There should be a report to moderator link in the post options drop down on the top right corner of each reply.


___________________
Try to take over the world!
0 Kudos
Message 7 of 7
(1,854 Views)