<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Legends in Excel Charts &#8211; Formats, Size, Shape, and Position</title>
	<atom:link href="http://peltiertech.com/WordPress/legends-excel-charts-formats-size-shape-position/feed/" rel="self" type="application/rss+xml" />
	<link>http://peltiertech.com/WordPress/legends-excel-charts-formats-size-shape-position/</link>
	<description>Peltier Tech Excel Charts and Programming Blog</description>
	<lastBuildDate>Wed, 23 May 2012 03:01:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/legends-excel-charts-formats-size-shape-position/comment-page-1/#comment-193420</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 13 Mar 2012 03:20:37 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1484#comment-193420</guid>
		<description>Larry -

Good point. The article mentioned in passing that you can move the legend, but now it explicitly states that the legend can be clicked on and manually dragged to a new location.</description>
		<content:encoded><![CDATA[<p>Larry -</p>
<p>Good point. The article mentioned in passing that you can move the legend, but now it explicitly states that the legend can be clicked on and manually dragged to a new location.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry Caretto</title>
		<link>http://peltiertech.com/WordPress/legends-excel-charts-formats-size-shape-position/comment-page-1/#comment-193323</link>
		<dc:creator>Larry Caretto</dc:creator>
		<pubDate>Mon, 12 Mar 2012 21:31:59 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1484#comment-193323</guid>
		<description>I may have missed this point in your discussion, but I have found that once a legend is created, it can be dragged anywhere in chart/plot area.  In particular, when I have data whose plots gives space in the plot area, I like to drag the legend into the plot area and increase the plot area to fill the entire chart area.  This is especially useful when space requirements limit the size of a chart.</description>
		<content:encoded><![CDATA[<p>I may have missed this point in your discussion, but I have found that once a legend is created, it can be dragged anywhere in chart/plot area.  In particular, when I have data whose plots gives space in the plot area, I like to drag the legend into the plot area and increase the plot area to fill the entire chart area.  This is especially useful when space requirements limit the size of a chart.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/legends-excel-charts-formats-size-shape-position/comment-page-1/#comment-107285</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Mon, 27 Jun 2011 01:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1484#comment-107285</guid>
		<description>Shadowfax -

If you have a great many series, you may need to change the height of the legend, to display more rows of legend entries, as well as the width of the legend, to display more columns.</description>
		<content:encoded><![CDATA[<p>Shadowfax -</p>
<p>If you have a great many series, you may need to change the height of the legend, to display more rows of legend entries, as well as the width of the legend, to display more columns.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shadowfax</title>
		<link>http://peltiertech.com/WordPress/legends-excel-charts-formats-size-shape-position/comment-page-1/#comment-106224</link>
		<dc:creator>Shadowfax</dc:creator>
		<pubDate>Wed, 22 Jun 2011 09:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1484#comment-106224</guid>
		<description>Hi,

The legend on my chart does not show/list all the data series which I have plotted in the chart. Initially I thought it was a size issue, and I&#039;ve tried to resize it, but that didn&#039;t work. Please help.

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>The legend on my chart does not show/list all the data series which I have plotted in the chart. Initially I thought it was a size issue, and I&#8217;ve tried to resize it, but that didn&#8217;t work. Please help.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://peltiertech.com/WordPress/legends-excel-charts-formats-size-shape-position/comment-page-1/#comment-10043</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Tue, 10 Feb 2009 12:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1484#comment-10043</guid>
		<description>SpeedBall -

Great idea. I may just post that as a complete routine when I have a chance.</description>
		<content:encoded><![CDATA[<p>SpeedBall -</p>
<p>Great idea. I may just post that as a complete routine when I have a chance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SpeedBall</title>
		<link>http://peltiertech.com/WordPress/legends-excel-charts-formats-size-shape-position/comment-page-1/#comment-10042</link>
		<dc:creator>SpeedBall</dc:creator>
		<pubDate>Tue, 10 Feb 2009 12:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://peltiertech.com/WordPress/?p=1484#comment-10042</guid>
		<description>My data required me to put the labels at the start of the series (the series are converging in the end) which made the data labels to overlay on themselves.

I&#039;ve added following bit of code for it to decide on its own what is the best place to put labels (start or end)...decision is based on stdev of the first and last data values.

&lt;pre class=&quot;vbasmall&quot;&gt;Dim xrange1, xrange2 As Variant
      
      If ActiveChart Is Nothing Then
        MsgBox &quot;Select a chart and try again.&quot;, vbExclamation, &quot;No Chart Selected&quot;
        Exit Sub
      Else
        
        k = 0
        tot = ActiveChart.SeriesCollection.Count
        ReDim xrange1(1 To 1, 1 To tot)
        ReDim xrange2(1 To 1, 1 To tot)
        
        For Each mySrs In ActiveChart.SeriesCollection
            k = k + 1
            xrange1(1, k) = mySrs.Values(1)
            xrange2(1, k) = mySrs.Values(mySrs.Points.Count)
        Next mySrs
        
        stdev1 = WorksheetFunction.StDev(xrange1)
        stdev2 = WorksheetFunction.StDev(xrange2)
        
        For Each mySrs In ActiveChart.SeriesCollection
          bLabeled = False
          With mySrs
            ptcount = .Points.Count
            If stdev1 &gt; stdev2 Then
                startpt = 1
                endpt = ptcount
                xstp = 1
            Else
                startpt = ptcount
                endpt = 1
                xstp = -1
            End If
            
            For iPts = startpt To endpt Step xstp
&#160;&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>My data required me to put the labels at the start of the series (the series are converging in the end) which made the data labels to overlay on themselves.</p>
<p>I&#8217;ve added following bit of code for it to decide on its own what is the best place to put labels (start or end)&#8230;decision is based on stdev of the first and last data values.</p>
<pre class="vbasmall">Dim xrange1, xrange2 As Variant

      If ActiveChart Is Nothing Then
        MsgBox "Select a chart and try again.", vbExclamation, "No Chart Selected"
        Exit Sub
      Else

        k = 0
        tot = ActiveChart.SeriesCollection.Count
        ReDim xrange1(1 To 1, 1 To tot)
        ReDim xrange2(1 To 1, 1 To tot)

        For Each mySrs In ActiveChart.SeriesCollection
            k = k + 1
            xrange1(1, k) = mySrs.Values(1)
            xrange2(1, k) = mySrs.Values(mySrs.Points.Count)
        Next mySrs

        stdev1 = WorksheetFunction.StDev(xrange1)
        stdev2 = WorksheetFunction.StDev(xrange2)

        For Each mySrs In ActiveChart.SeriesCollection
          bLabeled = False
          With mySrs
            ptcount = .Points.Count
            If stdev1 &gt; stdev2 Then
                startpt = 1
                endpt = ptcount
                xstp = 1
            Else
                startpt = ptcount
                endpt = 1
                xstp = -1
            End If

            For iPts = startpt To endpt Step xstp
&nbsp;</pre>
]]></content:encoded>
	</item>
</channel>
</rss>

