<?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: Controlling the width of bars in bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Controlling-the-width-of-bars-in-bar-chart/m-p/1030066#M940007</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This isn't directly possible - the chart will always resize to the content. This meant you need a workaround which always showed the max. number of bars. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One workaround will be to use a second expressions like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= sum({1 &amp;lt; Month = {'*'}&amp;gt;} 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which will be hidden (per option not per expression-condition) and to hide the not possible month from the axis a calculated dimension with dual like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=dual(if(aggr(count(distinct Month), Month) &amp;gt; 0, Month, ''), Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2016 13:14:21 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-02-02T13:14:21Z</dc:date>
    <item>
      <title>Controlling the width of bars in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Controlling-the-width-of-bars-in-bar-chart/m-p/1030065#M940006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing an issue with bar charts in my Qlikview project. The bar chart can display a total of 6 months data in my application. The issue is that when the chart displays 6 months, the size of the bars get smaller. I need the size of the bars to always be the same (whether two months are selected or 4 or 6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, below you'll find the bar chart whereby 3 months are being displayed. They are all uniform in size. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG alt="" class="jive-image image-1" height="152" src="https://community.qlik.com/legacyfs/online/113270_pastedImage_0.png" style="width: 245.843px; height: 152px; float: none;" width="246" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when 6 months are displayed, they get smaller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG alt="" class="jive-image image-2" height="154" src="https://community.qlik.com/legacyfs/online/113271_pastedImage_1.png" style="max-width: 1200px; max-height: 900px; float: none; width: 249.078px; height: 154px;" width="249" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way I have tried increasing the size of the bar chart for all bars to be uniform. However when less months are selected, the graph gets distorted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help,&lt;/P&gt;&lt;P&gt;Mohesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Controlling-the-width-of-bars-in-bar-chart/m-p/1030065#M940006</guid>
      <dc:creator>moheshpadaruth</dc:creator>
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling the width of bars in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Controlling-the-width-of-bars-in-bar-chart/m-p/1030066#M940007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This isn't directly possible - the chart will always resize to the content. This meant you need a workaround which always showed the max. number of bars. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One workaround will be to use a second expressions like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= sum({1 &amp;lt; Month = {'*'}&amp;gt;} 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which will be hidden (per option not per expression-condition) and to hide the not possible month from the axis a calculated dimension with dual like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=dual(if(aggr(count(distinct Month), Month) &amp;gt; 0, Month, ''), Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 13:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Controlling-the-width-of-bars-in-bar-chart/m-p/1030066#M940007</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-02T13:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling the width of bars in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Controlling-the-width-of-bars-in-bar-chart/m-p/1030067#M940008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Marcus and sunny.that will&amp;nbsp; help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 18:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Controlling-the-width-of-bars-in-bar-chart/m-p/1030067#M940008</guid>
      <dc:creator>pgrs4219</dc:creator>
      <dc:date>2016-02-08T18:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling the width of bars in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Controlling-the-width-of-bars-in-bar-chart/m-p/1030068#M940009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;The Expression &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;= sum({1 &amp;lt; Month = {'*'}&amp;gt;} 1)&amp;nbsp;&amp;nbsp; was worked for me.But Again i have a requirement like Though we have a year data currently&amp;nbsp; using&amp;nbsp; 6 months data&amp;nbsp; in chart,if i use&amp;nbsp; above Expression chart displaying the rest of the 6 months data&amp;nbsp; too which is actually not. Can you help out with is this.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 19:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Controlling-the-width-of-bars-in-bar-chart/m-p/1030068#M940009</guid>
      <dc:creator>pgrs4219</dc:creator>
      <dc:date>2016-03-04T19:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling the width of bars in bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Controlling-the-width-of-bars-in-bar-chart/m-p/1030069#M940010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the conditions within the expression and dimension could be adjusted to match different requirements. But it could be easier to avoid this and using "normal" expression and dimension and adjust the number of bars with the options in tab presentation (top right).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2016 09:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Controlling-the-width-of-bars-in-bar-chart/m-p/1030069#M940010</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-03-05T09:07:32Z</dc:date>
    </item>
  </channel>
</rss>

