LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I modify the microsoft word graph

Hi,

I'm trying to modify the Legend section of a graph after creating it in labview.
Any ideas?



thanks.
0 Kudos
Message 1 of 7
(3,475 Views)
Hello

There are plot legend, scale legend, etc in a graph

Should you mean a property called "legend", to change name, use "plot name".

If not, clarify qour question and/or post an example vi.

Cheers
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 2 of 7
(3,462 Views)
Please read this thread to see if your question is answered.

http://forums.ni.com/ni/board/message?board.id=170&message.id=5869&query.id=0#M5869

Michael Munroe
www.abcdef.biz
Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.1, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
0 Kudos
Message 3 of 7
(3,454 Views)
Hi,

I am actually trying to modify the legend of a graph in microsoft word 2003. I realized that I was a bit obscure about that.

I'm using LabVIEW 7. I can basicaly change everything in the graph except the font of the legend and the title.



Thanks.
0 Kudos
Message 4 of 7
(3,444 Views)
Hello,

The legend property of the graph/chart can be accessed through Labview. If you take a look at the Word_Insert_Chart.vi (C:\Program Files\National Instruments\LabVIEW 7.1\vi.lib\addons\_office\_wordsub.llb\Word_Insert_Chart.vi), you will notice that there is a property node to the chart. One of the properties is for the legend on the chart, and from there, you could create a property node for the legend.

A few of the exposed properties are font, height, width, and position. In particular, the font property is read only. So, in short, you will not be able to change the font in your legend short of possibly getting an ActiveX reference to your graph and see what properties this reference exposes.


Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
Message 5 of 7
(3,424 Views)
Hello Wendy,

thanks for your reply. This is what I was looking for. I tried the steps you described and as you said the properties I would like to modify can not be modified from LabVIEW.


Thanks for your help.
0 Kudos
Message 6 of 7
(3,402 Views)
Hi again Wendy,

thanks for the idea, I finally am able to change the font's size of the legend.

I'll be working on the other properties.



Thanks.
0 Kudos
Message 7 of 7
(3,396 Views)