<?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 Legend alignment on sum over time chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Legend-alignment-on-sum-over-time-chart/m-p/230027#M587954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I've got a run-of-the-mill accumulative sum-over-time chart pictured below, and my challenge is to get the legend to display like that. Specifically: left-aligned labels and right-aligned totals. There are two ways that I know of to get close, but not quite what I want.&lt;/P&gt;&lt;P&gt;1. In chart's properties, for the expressions' labels put something like this&lt;/P&gt;&lt;P&gt;= 'Gifts' &amp;amp; Sum( {&amp;lt;[Gifts Type Code] = {g, b, y}&amp;gt;} [Gifts Amount] )&lt;/P&gt;&lt;P&gt;The problem with this is that it puts the total right after "Gifts." What I want is the total to be right aligned and the label, Gifts, to be left aligned like it is in the picture, and on other charts that aren't time-based where it automatically generates the totals in the legend.&lt;/P&gt;&lt;P&gt;2. Make a separate Text Box object with just the totals in them and put it right next to the legend. This is what I did to generate this image, and I thought it solved the problem initially. Then I realized that if the users copy it as an image or print it, it won't have the values that are in the text box.&lt;/P&gt;&lt;P&gt;Is there another way I'm not aware of to do this? From this thread http://tinyurl.com/29uqs8w I've learned that you can't control the horizontal alignment inside the legend, but what I'm trying to do is just have a legend that's like the default legends for say, a pie chart. Anybody know how I could pull this off? Thanks very much for any input.&lt;/P&gt;&lt;P&gt;*NOTE* Yes, those totals are very erroneous.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3116_sourceID:3116" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Dec 2010 00:48:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-22T00:48:45Z</dc:date>
    <item>
      <title>Legend alignment on sum over time chart</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-alignment-on-sum-over-time-chart/m-p/230027#M587954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I've got a run-of-the-mill accumulative sum-over-time chart pictured below, and my challenge is to get the legend to display like that. Specifically: left-aligned labels and right-aligned totals. There are two ways that I know of to get close, but not quite what I want.&lt;/P&gt;&lt;P&gt;1. In chart's properties, for the expressions' labels put something like this&lt;/P&gt;&lt;P&gt;= 'Gifts' &amp;amp; Sum( {&amp;lt;[Gifts Type Code] = {g, b, y}&amp;gt;} [Gifts Amount] )&lt;/P&gt;&lt;P&gt;The problem with this is that it puts the total right after "Gifts." What I want is the total to be right aligned and the label, Gifts, to be left aligned like it is in the picture, and on other charts that aren't time-based where it automatically generates the totals in the legend.&lt;/P&gt;&lt;P&gt;2. Make a separate Text Box object with just the totals in them and put it right next to the legend. This is what I did to generate this image, and I thought it solved the problem initially. Then I realized that if the users copy it as an image or print it, it won't have the values that are in the text box.&lt;/P&gt;&lt;P&gt;Is there another way I'm not aware of to do this? From this thread http://tinyurl.com/29uqs8w I've learned that you can't control the horizontal alignment inside the legend, but what I'm trying to do is just have a legend that's like the default legends for say, a pie chart. Anybody know how I could pull this off? Thanks very much for any input.&lt;/P&gt;&lt;P&gt;*NOTE* Yes, those totals are very erroneous.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3116_sourceID:3116" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 00:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-alignment-on-sum-over-time-chart/m-p/230027#M587954</guid>
      <dc:creator />
      <dc:date>2010-12-22T00:48:45Z</dc:date>
    </item>
    <item>
      <title>Legend alignment on sum over time chart</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-alignment-on-sum-over-time-chart/m-p/230028#M587955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No perfect solution here, but a couple things to try.&lt;/P&gt;&lt;P&gt;First, have you tried adding Text in Chart from the Presentation tab?&lt;/P&gt;&lt;P&gt;Also, if you use a monospaced font, a little modification to you label expression will work alright. In this case a number can be up to 25 characters long.&lt;/P&gt;&lt;P&gt;= 'Gifts' &amp;amp; repeat(' ', 25 - len(Sum( {&amp;lt;[Gifts Type Code] = {g, b, y}&amp;gt;} [Gifts Amount]))) &amp;amp; Sum( {&amp;lt;[Gifts Type Code] = {g, b, y}&amp;gt;} [Gifts Amount] )&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 02:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-alignment-on-sum-over-time-chart/m-p/230028#M587955</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-12-22T02:08:34Z</dc:date>
    </item>
    <item>
      <title>Legend alignment on sum over time chart</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-alignment-on-sum-over-time-chart/m-p/230029#M587956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Karl, I somehow hadn't seen that adding text section of the presentation tab. I think that's probably the route I'll go, though when I print the chart the text box doesn't line up quite right. I think I'll just have to suggest that the users use the "copy to image" button and paste it into a word/excel doc before printing. Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 21:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-alignment-on-sum-over-time-chart/m-p/230029#M587956</guid>
      <dc:creator />
      <dc:date>2010-12-22T21:22:22Z</dc:date>
    </item>
  </channel>
</rss>

