<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Decorations in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Decorations/m-p/2143336#M693179</link>
    <description>&lt;P&gt;This seems like it should be really easy, but then again I've been at work for the past 13 hours, so maybe I'm just being dumb.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an XY graph. I wanted to put some decorations over it to indicate a certain area.&lt;/P&gt;
&lt;P&gt;I clicked on all the lines, then selected "Move to Front"&lt;/P&gt;
&lt;P&gt;I then clicked the graph and clicked "Move to Back".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When it's not running it looks correct:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/eda037e6694e5bd58d1a63a5b239a2c241faf8df/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f383534313269413938373943303836453736413934312f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="Stopped.PNG" title="Stopped.PNG" align="center" /&gt;\&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As soon as I start running the VI, the decorations drop behind the graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/98bc49e6cd6bc91787222dd4cafe4623eeca98b2/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f383534313469434430323035453433303133464335362f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="running.PNG" title="running.PNG" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am I missing something obvious?&lt;/P&gt;</description>
    <pubDate>Fri, 31 Aug 2012 23:32:33 GMT</pubDate>
    <dc:creator>Cory_K</dc:creator>
    <dc:date>2012-08-31T23:32:33Z</dc:date>
    <item>
      <title>Decorations</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Decorations/m-p/2143336#M693179</link>
      <description>&lt;P&gt;This seems like it should be really easy, but then again I've been at work for the past 13 hours, so maybe I'm just being dumb.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an XY graph. I wanted to put some decorations over it to indicate a certain area.&lt;/P&gt;
&lt;P&gt;I clicked on all the lines, then selected "Move to Front"&lt;/P&gt;
&lt;P&gt;I then clicked the graph and clicked "Move to Back".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When it's not running it looks correct:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/eda037e6694e5bd58d1a63a5b239a2c241faf8df/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f383534313269413938373943303836453736413934312f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="Stopped.PNG" title="Stopped.PNG" align="center" /&gt;\&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As soon as I start running the VI, the decorations drop behind the graph.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/98bc49e6cd6bc91787222dd4cafe4623eeca98b2/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f383534313469434430323035453433303133464335362f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="running.PNG" title="running.PNG" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am I missing something obvious?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2012 23:32:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Decorations/m-p/2143336#M693179</guid>
      <dc:creator>Cory_K</dc:creator>
      <dc:date>2012-08-31T23:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Decorations</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Decorations/m-p/2143348#M693182</link>
      <description>&lt;P&gt;If your decorations are completely contained within the graph area, can I suggest an alternate approach?&amp;nbsp; The XY Graph has a set of "Plot Images" properties.&amp;nbsp; You can write to them to draw on the graph, using the picture functions.&amp;nbsp; So, for example, if you just want to draw a rectangle on a portion of the graph, you can do so using "Draw Rect" with the picture output wired to the plot image.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Sep 2012 00:04:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Decorations/m-p/2143348#M693182</guid>
      <dc:creator>nathand</dc:creator>
      <dc:date>2012-09-01T00:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Decorations</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Decorations/m-p/2143350#M693183</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/36089"&gt;@nathand&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;If your decorations are completely contained within the graph area, can I suggest an alternate approach?&amp;nbsp; The XY Graph has a set of "Plot Images" properties.&amp;nbsp; You can write to them to draw on the graph, using the picture functions.&amp;nbsp; So, for example, if you just want to draw a rectangle on a portion of the graph, you can do so using "Draw Rect" with the picture output wired to the plot image.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The Draw Rect function takes inputs of Left, Top, Right, Bottom.&lt;/P&gt;
&lt;P&gt;Are those coordinates in the XY graph or coordinates on the entire front panel?&lt;/P&gt;</description>
      <pubDate>Sat, 01 Sep 2012 00:15:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Decorations/m-p/2143350#M693183</guid>
      <dc:creator>Cory_K</dc:creator>
      <dc:date>2012-09-01T00:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Decorations</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Decorations/m-p/2143352#M693184</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/50012"&gt;@cory&lt;/a&gt; K wrote:&lt;BR /&gt;
&lt;P&gt;The Draw Rect function takes inputs of Left, Top, Right, Bottom.&lt;/P&gt;
&lt;P&gt;Are those coordinates in the XY graph or coordinates on the entire front panel?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;They're relative to the graph area (0,0 is the upper left of the graph).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you may know, the graph has a method called "Map XY to Coords" which gives you coordinates relative to the panel origin.&amp;nbsp; You can convert this to coordinates within the graph for use with the drawing functions by subtracting the "left" and "top" coordinates of the graph's Plot Bounds.&amp;nbsp; I find it convenient to bundle these two properties into a cluster and then subtract the cluster from the output of Map XY to Coords.&amp;nbsp; This is useful for drawing images within the graph's coordinate system.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Sep 2012 00:24:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Decorations/m-p/2143352#M693184</guid>
      <dc:creator>nathand</dc:creator>
      <dc:date>2012-09-01T00:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Decorations</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Decorations/m-p/2143360#M693186</link>
      <description>&lt;P&gt;Awesome, thanks. Worked perfectly.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Sep 2012 00:42:00 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Decorations/m-p/2143360#M693186</guid>
      <dc:creator>Cory_K</dc:creator>
      <dc:date>2012-09-01T00:42:00Z</dc:date>
    </item>
  </channel>
</rss>

