<?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 Re: yAxis.GetBounds returns empty rectangle? in Measurement Studio for .NET Languages</title>
    <link>https://ni.lithium.com/t5/Measurement-Studio-for-NET/yAxis-GetBounds-returns-empty-rectangle/m-p/631178#M6281</link>
    <description>&lt;DIV&gt;Not sure that my last post had the attachment.&lt;/DIV&gt;</description>
    <pubDate>Thu, 27 Dec 2007 02:09:30 GMT</pubDate>
    <dc:creator>Adam S Carney</dc:creator>
    <dc:date>2007-12-27T02:09:30Z</dc:date>
    <item>
      <title>yAxis.GetBounds returns empty rectangle?</title>
      <link>https://ni.lithium.com/t5/Measurement-Studio-for-NET/yAxis-GetBounds-returns-empty-rectangle/m-p/630610#M6275</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Using a ScatterGraph, I&amp;nbsp;would like to draw the axis scales in my own code inside the Paint event handler. I can use xAxis.GetBounds() to retreive the rectangle to draw in&amp;nbsp; for the xAxis but yAxis.GetBounds() always seems to return Rectangle(0,0,0,0). Why?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks,&lt;/DIV&gt;
&lt;DIV&gt;Adam&lt;/DIV&gt;</description>
      <pubDate>Sun, 23 Dec 2007 18:49:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Measurement-Studio-for-NET/yAxis-GetBounds-returns-empty-rectangle/m-p/630610#M6275</guid>
      <dc:creator>Adam S Carney</dc:creator>
      <dc:date>2007-12-23T18:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: yAxis.GetBounds returns empty rectangle?</title>
      <link>https://ni.lithium.com/t5/Measurement-Studio-for-NET/yAxis-GetBounds-returns-empty-rectangle/m-p/631108#M6279</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;Hi Adam,&lt;BR /&gt;&lt;BR /&gt;I haven't been able to reproduce your issue yet.&amp;nbsp; What language are you using?&amp;nbsp; Can you post a small snippet of your code that demonstrates how you are trying to access the yAxis bounds?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Dec 2007 22:05:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Measurement-Studio-for-NET/yAxis-GetBounds-returns-empty-rectangle/m-p/631108#M6279</guid>
      <dc:creator>MartyMcDAX</dc:creator>
      <dc:date>2007-12-26T22:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: yAxis.GetBounds returns empty rectangle?</title>
      <link>https://ni.lithium.com/t5/Measurement-Studio-for-NET/yAxis-GetBounds-returns-empty-rectangle/m-p/631171#M6280</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks Marty.&lt;/DIV&gt;
&lt;DIV&gt;I'm using C# and VS2005. I wrote a little demo that paints the rectangles returned by .GetBounds(). It shows that when the axis has Position=AxisPosition.Right, GetBounds returns an empty rectangle. I didn't notice that it was just right-hand axes the first time around.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Adam&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Dec 2007 01:40:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Measurement-Studio-for-NET/yAxis-GetBounds-returns-empty-rectangle/m-p/631171#M6280</guid>
      <dc:creator>Adam S Carney</dc:creator>
      <dc:date>2007-12-27T01:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: yAxis.GetBounds returns empty rectangle?</title>
      <link>https://ni.lithium.com/t5/Measurement-Studio-for-NET/yAxis-GetBounds-returns-empty-rectangle/m-p/631178#M6281</link>
      <description>&lt;DIV&gt;Not sure that my last post had the attachment.&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Dec 2007 02:09:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Measurement-Studio-for-NET/yAxis-GetBounds-returns-empty-rectangle/m-p/631178#M6281</guid>
      <dc:creator>Adam S Carney</dc:creator>
      <dc:date>2007-12-27T02:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: yAxis.GetBounds returns empty rectangle?</title>
      <link>https://ni.lithium.com/t5/Measurement-Studio-for-NET/yAxis-GetBounds-returns-empty-rectangle/m-p/631201#M6282</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;YAxis contains additional overloads of GetBounds that requires you to specify the YAxisPosition as an argument. By default, GetBounds will return the position of the y-axis as if it were positioned on the left. If you have the YAxis positioned on the right side of the plot area, then you should call yAxis.GetBounds(YAxisPosition.Right).</description>
      <pubDate>Thu, 27 Dec 2007 05:58:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Measurement-Studio-for-NET/yAxis-GetBounds-returns-empty-rectangle/m-p/631201#M6282</guid>
      <dc:creator>Abhishek Ghuwalewala</dc:creator>
      <dc:date>2007-12-27T05:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: yAxis.GetBounds returns empty rectangle?</title>
      <link>https://ni.lithium.com/t5/Measurement-Studio-for-NET/yAxis-GetBounds-returns-empty-rectangle/m-p/631489#M6286</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Thank you sir. That is correct. Using GetBounds() or GetBounds(YAxisPosition.Left) returns an empty rectangle when the axis is positioned on the right. One must call GetBounds(YAxisPosition.Right) when it is desired to obtain the right hand axis rectangle when position is .Right or .LeftRight.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2007 00:13:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Measurement-Studio-for-NET/yAxis-GetBounds-returns-empty-rectangle/m-p/631489#M6286</guid>
      <dc:creator>Adam S Carney</dc:creator>
      <dc:date>2007-12-28T00:13:41Z</dc:date>
    </item>
  </channel>
</rss>

