<?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 Labels on data points in scatter chart: toggle display and truncate? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Labels-on-data-points-in-scatter-chart-toggle-display-and/m-p/42608#M783228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggestions as to how I can accomplish a couple of things related to labels on data points in scatter chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; I know how to either display them, not display them, or display them only if the number of labels on the chart is less than a specified integer.&amp;nbsp; (&lt;EM&gt;Properties -&amp;gt; Presentation -&amp;gt; Labels on Datapoints&lt;/EM&gt; check box &amp;amp; &lt;EM&gt;Max Labels Shown&lt;/EM&gt; entry.&amp;nbsp; Ideally I would like a button which will toggle the display off/on as the user sees fit.&amp;nbsp; In effect, toggling the &lt;EM style="font-size: 13.3333px;"&gt;Labels on Datapoints&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; check box setting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; When displayed I'd like to truncate the value of the dimension displayed to 8 characters like I can do in the Legend settings.&amp;nbsp; (Yes, I could make a calculated dimension but some of them have the same first 8 characters so this solution doesn't help).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>garethrogers</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Labels on data points in scatter chart: toggle display and truncate?</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-on-data-points-in-scatter-chart-toggle-display-and/m-p/42608#M783228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggestions as to how I can accomplish a couple of things related to labels on data points in scatter chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; I know how to either display them, not display them, or display them only if the number of labels on the chart is less than a specified integer.&amp;nbsp; (&lt;EM&gt;Properties -&amp;gt; Presentation -&amp;gt; Labels on Datapoints&lt;/EM&gt; check box &amp;amp; &lt;EM&gt;Max Labels Shown&lt;/EM&gt; entry.&amp;nbsp; Ideally I would like a button which will toggle the display off/on as the user sees fit.&amp;nbsp; In effect, toggling the &lt;EM style="font-size: 13.3333px;"&gt;Labels on Datapoints&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; check box setting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; When displayed I'd like to truncate the value of the dimension displayed to 8 characters like I can do in the Legend settings.&amp;nbsp; (Yes, I could make a calculated dimension but some of them have the same first 8 characters so this solution doesn't help).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-on-data-points-in-scatter-chart-toggle-display-and/m-p/42608#M783228</guid>
      <dc:creator>garethrogers</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Labels on data points in scatter chart: toggle display and truncate?</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-on-data-points-in-scatter-chart-toggle-display-and/m-p/42609#M783229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know about changing the labels, but the user can turn them on/off with a macro.&lt;/P&gt;&lt;P&gt;Create a variable named vShowLabels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub ScatterLabels&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("vShowLabels")&lt;/P&gt;&lt;P&gt;strShowLabels = v.GetContent.String&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetsheetObject("CH66")&lt;/P&gt;&lt;P&gt;set gp = chart.GetProperties&lt;/P&gt;&lt;P&gt;if strShowLabels = "Yes" then&lt;/P&gt;&lt;P&gt;gp.ChartProperties.ScatterLabelsInChart = false &lt;/P&gt;&lt;P&gt;v.SetContent "No",true&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;gp.ChartProperties.ScatterLabelsInChart = true&lt;/P&gt;&lt;P&gt;v.SetContent "Yes",true&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;' gp.ChartProperties.ScatterLabelPosVertical = 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'top&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;' gp.ChartProperties.ScatterLabelPosHorizontal = 5&amp;nbsp;&amp;nbsp;&amp;nbsp; 'center&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chart.SetProperties gp&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 19:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-on-data-points-in-scatter-chart-toggle-display-and/m-p/42609#M783229</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-03-16T19:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Labels on data points in scatter chart: toggle display and truncate?</title>
      <link>https://community.qlik.com/t5/QlikView/Labels-on-data-points-in-scatter-chart-toggle-display-and/m-p/42610#M783230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works like a champ for the toggle.&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any takers for #2, the truncation of the text that displays?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 19:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Labels-on-data-points-in-scatter-chart-toggle-display-and/m-p/42610#M783230</guid>
      <dc:creator>garethrogers</dc:creator>
      <dc:date>2018-03-16T19:44:09Z</dc:date>
    </item>
  </channel>
</rss>

