LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the legend of a plot in an excel chart using LabView?

Hi,
My question is:
I create a chart in Excel with LabView7 using ActiveX. There are 4 plots in one chart. How can I rename the legend (the name) of each plot with LabView?
Thanks.

Michi
0 Kudos
Message 1 of 2
(2,637 Views)
Use the SeriesCollection(1).Name function. In LV, wire up the following:

_Chart into Method SeriesCollection (index = 1 to 4)
Cascade into Variant to Data (wire type Excel.Series)
Wire Series into Property Name, Write the string

Michael Munroe
www.abcdefirm.com
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.
Message 2 of 2
(2,637 Views)