<?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: set default line widths on map shapes in graph builder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/set-default-line-widths-on-map-shapes-in-graph-builder/m-p/539003#M76010</link>
    <description>&lt;P&gt;Hi I'm also very interested to that question has we use a lot the map shape functionnality but the result is in certain cases a little 'messy' and we use the line width to clean up a bit the visualisation.&lt;/P&gt;&lt;P&gt;Does anyone have the answer? The customize menu doesn't seem to be mentioned in the jsl script index...&lt;/P&gt;</description>
    <pubDate>Wed, 31 Aug 2022 07:47:05 GMT</pubDate>
    <dc:creator>Franck_R</dc:creator>
    <dc:date>2022-08-31T07:47:05Z</dc:date>
    <item>
      <title>set default line widths on map shapes in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/set-default-line-widths-on-map-shapes-in-graph-builder/m-p/220358#M44065</link>
      <description>&lt;P&gt;Is it possible to set a different default line width on a map shape in graph builder? Currently, every time I make a map with a referenced "map role" column in graph builder it defaults to a width of 1. To change it to the appropriate scale, I have to go to: customize graph&amp;gt;Shape:&amp;gt;line width and change it manually every time. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 15:11:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/set-default-line-widths-on-map-shapes-in-graph-builder/m-p/220358#M44065</guid>
      <dc:creator>fever</dc:creator>
      <dc:date>2019-08-07T15:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: set default line widths on map shapes in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/set-default-line-widths-on-map-shapes-in-graph-builder/m-p/539003#M76010</link>
      <description>&lt;P&gt;Hi I'm also very interested to that question has we use a lot the map shape functionnality but the result is in certain cases a little 'messy' and we use the line width to clean up a bit the visualisation.&lt;/P&gt;&lt;P&gt;Does anyone have the answer? The customize menu doesn't seem to be mentioned in the jsl script index...&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 07:47:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/set-default-line-widths-on-map-shapes-in-graph-builder/m-p/539003#M76010</guid>
      <dc:creator>Franck_R</dc:creator>
      <dc:date>2022-08-31T07:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: set default line widths on map shapes in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/set-default-line-widths-on-map-shapes-in-graph-builder/m-p/539011#M76012</link>
      <description>&lt;P&gt;Not sure if there is any way to modify defaults related to Shape's line width but here is one way to script it:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/PopAgeGroup.jmp");

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Variables(Shape(:Country)),
	Elements(Map Shapes(Legend(10)))
);

seg = Report(gb)[FrameBox(1)] &amp;lt;&amp;lt; Find Seg(Shape Seg(1));
seg &amp;lt;&amp;lt; Line Width(1);
wait(1);
seg &amp;lt;&amp;lt; Line Width(2);
wait(1);
seg &amp;lt;&amp;lt; Line Width(3);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Aug 2022 08:40:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/set-default-line-widths-on-map-shapes-in-graph-builder/m-p/539011#M76012</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-08-31T08:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: set default line widths on map shapes in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/set-default-line-widths-on-map-shapes-in-graph-builder/m-p/539012#M76013</link>
      <description>&lt;P&gt;Great thanks it works for my needs! I was searching for a kind of option linked to graphic builder and not linked to an object&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 08:55:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/set-default-line-widths-on-map-shapes-in-graph-builder/m-p/539012#M76013</guid>
      <dc:creator>Franck_R</dc:creator>
      <dc:date>2022-08-31T08:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: set default line widths on map shapes in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/set-default-line-widths-on-map-shapes-in-graph-builder/m-p/539022#M76014</link>
      <description>&lt;P&gt;I found this by letting JMP first script it for me. I first modified the line width from Customize menu&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1661936260595.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45107i28FC7B753355A9F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1661936260595.png" alt="jthi_0-1661936260595.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and then got the script for Graph Builder to Clipboard&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables(Shape(:Country)),
	Elements(Map Shapes(Legend(10))),
	SendToReport(
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{DispatchSeg(Shape Seg(1), {Line Width(11)})}
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;From there I knew I can use Find Seg to get reference to Shape Seg(1) and finally I just tried if &amp;lt;&amp;lt; Line Width() would work. Of course after knowing that you are supposed to look for Shape Seg instead of Graph Builder, you can also search for that in Scripting Index.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 08:59:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/set-default-line-widths-on-map-shapes-in-graph-builder/m-p/539022#M76014</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-08-31T08:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: set default line widths on map shapes in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/set-default-line-widths-on-map-shapes-in-graph-builder/m-p/539130#M76018</link>
      <description>&lt;P&gt;Yes good point I didn't have the thought to record the script of the graph, although it's something I often use to find tricky options, I just saw that a manual modification wasn't recorded in the log and I didn't go further to find the jsl transcript by a other way. Shame on me!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 13:31:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/set-default-line-widths-on-map-shapes-in-graph-builder/m-p/539130#M76018</guid>
      <dc:creator>Franck_R</dc:creator>
      <dc:date>2022-08-31T13:31:47Z</dc:date>
    </item>
  </channel>
</rss>

