<?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 hiding chart title by VB macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/hiding-chart-title-by-VB-macro/m-p/118919#M18332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have the need to hide the chart title by a macro.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The layout of the chart title is controlled by check box "Show Caption".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can I uncheck this control by VB Macro?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have added a button to run a macro&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i.e&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;SUB ShowHide_TITLE&lt;BR /&gt; set chart = ActiveDocument.GetSheetObject("CH29")&lt;BR /&gt; &lt;BR /&gt; set Prop = chart.GetProperties&lt;BR /&gt; ??? Prop.????=false&lt;BR /&gt; chart.SetProperties Prop&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;end sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt; Is there a way for achieving this? &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2018 09:59:28 GMT</pubDate>
    <dc:creator>fineasfalco</dc:creator>
    <dc:date>2018-10-19T09:59:28Z</dc:date>
    <item>
      <title>hiding chart title by VB macro</title>
      <link>https://community.qlik.com/t5/QlikView/hiding-chart-title-by-VB-macro/m-p/118919#M18332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have the need to hide the chart title by a macro.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The layout of the chart title is controlled by check box "Show Caption".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can I uncheck this control by VB Macro?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have added a button to run a macro&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i.e&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;SUB ShowHide_TITLE&lt;BR /&gt; set chart = ActiveDocument.GetSheetObject("CH29")&lt;BR /&gt; &lt;BR /&gt; set Prop = chart.GetProperties&lt;BR /&gt; ??? Prop.????=false&lt;BR /&gt; chart.SetProperties Prop&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;end sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt; Is there a way for achieving this? &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 09:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hiding-chart-title-by-VB-macro/m-p/118919#M18332</guid>
      <dc:creator>fineasfalco</dc:creator>
      <dc:date>2018-10-19T09:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: hiding chart title by VB macro</title>
      <link>https://community.qlik.com/t5/QlikView/hiding-chart-title-by-VB-macro/m-p/118920#M18333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is from the API Guide:&lt;/P&gt;&lt;P&gt;set myobj = ActiveDocument.GetSheetObject("CO01")&lt;/P&gt;&lt;P&gt;prop = myobj.GetProperties&lt;/P&gt;&lt;P&gt;prop.Layout.Frame.ShowCaption = true&lt;/P&gt;&lt;P&gt;myobj.SetProperties prop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 19:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hiding-chart-title-by-VB-macro/m-p/118920#M18333</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-10-19T19:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: hiding chart title by VB macro</title>
      <link>https://community.qlik.com/t5/QlikView/hiding-chart-title-by-VB-macro/m-p/118921#M18334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since &lt;A href="http://community.qlik.com/blogs/qlikviewdesignblog/2014/04/28/macros-are-bad"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Macros are Bad&lt;/SPAN&gt;&lt;/A&gt;, I should suggest another method:&lt;/P&gt;&lt;P&gt;You could clone your chart and remove the caption on the close. Then you could use an action to show/hide the charts based on a variable or a field selection.&amp;nbsp; No macros required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 19:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hiding-chart-title-by-VB-macro/m-p/118921#M18334</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-10-19T19:49:43Z</dc:date>
    </item>
  </channel>
</rss>

