<?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 overlapping labels in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Hiding-overlapping-labels/m-p/56547#M31781</link>
    <description>&lt;P&gt;How do I script in JSL the preference that I don't want to hide overlapping labels, please? &amp;nbsp;If possible I'd like the preference to relate only to a specific chart I've created within the Graph Builder, but I'll settle for a general preference if isn't possible.&lt;/P&gt;&lt;P&gt;I've found the reference to "Hide Overlapping Labels" within the Preferences section of the Scripting Index, but the example doesn't seem to work. I note that the example actually says:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Preferences[1] &amp;lt;&amp;lt; Set( Hide Overlap Labels( 0 ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and I'm guessing this is probably a typo, but correcting it to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Preferences[1] &amp;lt;&amp;lt; Set( Hide Overlapping Labels( 0 ) );
show preferences();&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;doesn't seem to work either, although the preference does now appear in the list, and the relevant check box has changed its setting when "Preferences" is invoked from the File menu. Clicking on the "Apply" button of the Preferences window seems to force the required change to be acted upon, but I'm trying to do this from a script.&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 08 May 2018 14:02:45 GMT</pubDate>
    <dc:creator>DMR</dc:creator>
    <dc:date>2018-05-08T14:02:45Z</dc:date>
    <item>
      <title>Hiding overlapping labels</title>
      <link>https://community.jmp.com/t5/Discussions/Hiding-overlapping-labels/m-p/56547#M31781</link>
      <description>&lt;P&gt;How do I script in JSL the preference that I don't want to hide overlapping labels, please? &amp;nbsp;If possible I'd like the preference to relate only to a specific chart I've created within the Graph Builder, but I'll settle for a general preference if isn't possible.&lt;/P&gt;&lt;P&gt;I've found the reference to "Hide Overlapping Labels" within the Preferences section of the Scripting Index, but the example doesn't seem to work. I note that the example actually says:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Preferences[1] &amp;lt;&amp;lt; Set( Hide Overlap Labels( 0 ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and I'm guessing this is probably a typo, but correcting it to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Preferences[1] &amp;lt;&amp;lt; Set( Hide Overlapping Labels( 0 ) );
show preferences();&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;doesn't seem to work either, although the preference does now appear in the list, and the relevant check box has changed its setting when "Preferences" is invoked from the File menu. Clicking on the "Apply" button of the Preferences window seems to force the required change to be acted upon, but I'm trying to do this from a script.&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 14:02:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hiding-overlapping-labels/m-p/56547#M31781</guid>
      <dc:creator>DMR</dc:creator>
      <dc:date>2018-05-08T14:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding overlapping labels</title>
      <link>https://community.jmp.com/t5/Discussions/Hiding-overlapping-labels/m-p/56712#M31819</link>
      <description>&lt;P&gt;I have always used this JSL syntax to change a preference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;preferences( Hide Overlapping Labels(0|1) );&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 10:00:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hiding-overlapping-labels/m-p/56712#M31819</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-05-09T10:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding overlapping labels</title>
      <link>https://community.jmp.com/t5/Discussions/Hiding-overlapping-labels/m-p/56716#M31823</link>
      <description>&lt;P&gt;Hi - I've realised what the problem was:&amp;nbsp;either syntax works, but&amp;nbsp;the chart needs to be&amp;nbsp;redisplayed (e.g. "gb &amp;lt;&amp;lt; reshow")&amp;nbsp;after&amp;nbsp;amending the preference&amp;nbsp;for the change actually to take effect.&amp;nbsp; Having said that, it looks as though&amp;nbsp;resetting Hide Overlapping Labels( 1 ) after forcing&amp;nbsp;all of the labels to be displayed&amp;nbsp;doesn't actually &lt;EM&gt;do&lt;/EM&gt; anything unless the chart is resized (even if the size is exactly the same as originally)&amp;nbsp;- but that can be easily accommodated by doing it via a little function like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	OverlappingLabels = function({myChart, YesNo}, {default local},
		// myChart is the chart I'm modifying; YesNo is either 0 or 1;
		preferences( Hide Overlapping Labels(YesNo));
		sizeList = (myChart &amp;lt;&amp;lt; get size);
		myChart &amp;lt;&amp;lt; Size( sizeList[1], sizeList[2] )
	);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 12:15:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hiding-overlapping-labels/m-p/56716#M31823</guid>
      <dc:creator>DMR</dc:creator>
      <dc:date>2018-05-09T12:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding overlapping labels</title>
      <link>https://community.jmp.com/t5/Discussions/Hiding-overlapping-labels/m-p/311657#M56481</link>
      <description>&lt;P&gt;Somehow it isn't working in JMP 15 even when you run it from Scripting Index:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotation 2020-09-23 103958.png" style="width: 460px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/26942i2BBD25A7ED99BE50/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotation 2020-09-23 103958.png" alt="Annotation 2020-09-23 103958.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 17:41:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hiding-overlapping-labels/m-p/311657#M56481</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2020-09-23T17:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding overlapping labels</title>
      <link>https://community.jmp.com/t5/Discussions/Hiding-overlapping-labels/m-p/311659#M56482</link>
      <description>Ok, it's Overlap vs. Overlapping.&lt;BR /&gt;And still I don't see any effect on my charts.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Sep 2020 17:49:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Hiding-overlapping-labels/m-p/311659#M56482</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2020-09-23T17:49:33Z</dc:date>
    </item>
  </channel>
</rss>

