<?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: Show Month on x-axis (VizLib Line Chart) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Show-Month-on-x-axis-VizLib-Line-Chart/m-p/1609037#M45228</link>
    <description>&lt;P&gt;I was able to get it partially working by enabling Timeaware option after changing the number of ticks to be 12&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16473i1631A767697D8F35/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, I am not sure why this begins with 2019 and not January? Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Sunny&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2019 19:25:01 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-08-02T19:25:01Z</dc:date>
    <item>
      <title>Show Month on x-axis (VizLib Line Chart)</title>
      <link>https://community.qlik.com/t5/App-Development/Show-Month-on-x-axis-VizLib-Line-Chart/m-p/1608982#M45219</link>
      <description>&lt;P&gt;Hi All -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a line chart where I am trying to show daily information while displaying only Month on the x axis...and I am using VizLib chart for this. Here is what I have tried so far.&lt;/P&gt;&lt;P&gt;Step 1: Created a new field in the script using DATE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date(SetDateYear(DATE, Year(Today())), 'DD-MMM') as MONTHDATE,&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step2: Created a line chart With&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MONTHDATE
YEAR&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum(VALUE)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By default, it shows 6 tick marks like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16463iD65BC5CD5484A8D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, I tried to increase it to 12 ticks, but that still try to space out based on the days&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 805px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16464iEC20D2A92543EFD6/image-dimensions/805x131?v=v2" width="805" height="131" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I try to use a calculated dimension like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Dual(Month(MONTHDATE), MONTHDATE)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get a chart like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16465i628F021B8997675E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now the x-axis looks exactly how I want, but the chart doesn't display the same day level information. All I need is the axis like the third image and plot as in 1st/2nd chart.&lt;/P&gt;&lt;P&gt;I hope someone can advice on this.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-Month-on-x-axis-VizLib-Line-Chart/m-p/1608982#M45219</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2024-11-16T05:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Show Month on x-axis (VizLib Line Chart)</title>
      <link>https://community.qlik.com/t5/App-Development/Show-Month-on-x-axis-VizLib-Line-Chart/m-p/1609037#M45228</link>
      <description>&lt;P&gt;I was able to get it partially working by enabling Timeaware option after changing the number of ticks to be 12&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16473i1631A767697D8F35/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, I am not sure why this begins with 2019 and not January? Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Sunny&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 19:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-Month-on-x-axis-VizLib-Line-Chart/m-p/1609037#M45228</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-08-02T19:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Show Month on x-axis (VizLib Line Chart)</title>
      <link>https://community.qlik.com/t5/App-Development/Show-Month-on-x-axis-VizLib-Line-Chart/m-p/1609055#M45229</link>
      <description>&lt;P&gt;&lt;BR /&gt;using a hierarchy that contains the date per day next to the year month? I would say as one more dimension, and you add whatever you want, anyway I would create a field in the calendar that is dual (year &amp;amp; '-' &amp;amp; month, year * 12 + month) as year-month.&lt;/P&gt;&lt;P&gt;regards!!!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2019 20:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-Month-on-x-axis-VizLib-Line-Chart/m-p/1609055#M45229</guid>
      <dc:creator>Marcos_rv</dc:creator>
      <dc:date>2019-08-02T20:39:01Z</dc:date>
    </item>
  </channel>
</rss>

