<?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 Top of Graph Builder Bars in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Labels-on-Top-of-Graph-Builder-Bars/m-p/508193#M73707</link>
    <description>&lt;P&gt;This question is very similar&amp;nbsp;&lt;LI-MESSAGE title="Display Values on Top of Graph Builder Bars" uid="4172" url="https://community.jmp.com/t5/Discussions/Display-Values-on-Top-of-Graph-Builder-Bars/m-p/4172#U4172" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;, I am just asking a follow up question that went unanswered in the original post.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating a bar graph with the Graph Builder and I want to add labels to the top of bars. I am using Graph Builder because I am using the Wrap functionality. I found how to add labels to the bars, but they default to the center of the bars. Is there any way to automatically move the labels to the top of the bars?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To go into more detail, I am using JSL to create the graph. I found that you can move the labels with&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;graphBuilderBox &amp;lt;&amp;lt; Dispatch( {}, "Graph Builder", FrameBox, {DispatchSeg( BarSeg(1), Set Label Offset( { labelNum, xCoord, yCoord } )  ) } );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, you move the label to the given coordinates on the current graph axis. On my graph, the Y axis is the Percent of Total Count, and I have the graph sorted by Count (essentially, a pareto graph), so it is impractical to try to get the heights of the bars to move each label individually.&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:24:55 GMT</pubDate>
    <dc:creator>PumpkinRocket</dc:creator>
    <dc:date>2023-06-11T11:24:55Z</dc:date>
    <item>
      <title>Labels on Top of Graph Builder Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Labels-on-Top-of-Graph-Builder-Bars/m-p/508193#M73707</link>
      <description>&lt;P&gt;This question is very similar&amp;nbsp;&lt;LI-MESSAGE title="Display Values on Top of Graph Builder Bars" uid="4172" url="https://community.jmp.com/t5/Discussions/Display-Values-on-Top-of-Graph-Builder-Bars/m-p/4172#U4172" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;, I am just asking a follow up question that went unanswered in the original post.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating a bar graph with the Graph Builder and I want to add labels to the top of bars. I am using Graph Builder because I am using the Wrap functionality. I found how to add labels to the bars, but they default to the center of the bars. Is there any way to automatically move the labels to the top of the bars?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To go into more detail, I am using JSL to create the graph. I found that you can move the labels with&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;graphBuilderBox &amp;lt;&amp;lt; Dispatch( {}, "Graph Builder", FrameBox, {DispatchSeg( BarSeg(1), Set Label Offset( { labelNum, xCoord, yCoord } )  ) } );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, you move the label to the given coordinates on the current graph axis. On my graph, the Y axis is the Percent of Total Count, and I have the graph sorted by Count (essentially, a pareto graph), so it is impractical to try to get the heights of the bars to move each label individually.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:24:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Labels-on-Top-of-Graph-Builder-Bars/m-p/508193#M73707</guid>
      <dc:creator>PumpkinRocket</dc:creator>
      <dc:date>2023-06-11T11:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Labels on Top of Graph Builder Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Labels-on-Top-of-Graph-Builder-Bars/m-p/508936#M73738</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm not seeing the behaviour that you describe. When I plot a bar chart with Percent of Total Count as the Y and a Wrap variable, the labels are on the top of the bars by default:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Phil_Kay_0-1655195379660.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43250i998A0232559C562A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Phil_Kay_0-1655195379660.png" alt="Phil_Kay_0-1655195379660.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Which version of JMP are you using (I used 16.2.0)? Can you provide some non-sensitive example data?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Phil&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 08:30:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Labels-on-Top-of-Graph-Builder-Bars/m-p/508936#M73738</guid>
      <dc:creator>Phil_Kay</dc:creator>
      <dc:date>2022-06-14T08:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Labels on Top of Graph Builder Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Labels-on-Top-of-Graph-Builder-Bars/m-p/509332#M73741</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your comment helped me figure out what was going on. Basically, I am allowing the user of my JSL script to use most of the Graph Builder functionalities, including Wrap and Overlay. For overlayed bar graphs, I prefer the stacked bar style over the side-by-side style, so in JSL, I made the graph stacked style regardless of whether the user used the overlay. When I added the labels, I did not realize remember that I changed the bar style, and apparently the bar style changes the default label positions. I attached a couple of graphs that show that.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Side By Side.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43253i1B0479F57C177145/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Side By Side.png" alt="Side By Side.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stacked.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/43254i174723FBA5BE57CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Stacked.png" alt="Stacked.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Side-by-side&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Stacked&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;Riley&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TLDR: My bar style was stacked and not side-by-side (the default)&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 13:31:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Labels-on-Top-of-Graph-Builder-Bars/m-p/509332#M73741</guid>
      <dc:creator>PumpkinRocket</dc:creator>
      <dc:date>2022-06-14T13:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Labels on Top of Graph Builder Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Labels-on-Top-of-Graph-Builder-Bars/m-p/510402#M73768</link>
      <description>&lt;P&gt;Thanks! That makes sense because, of course, if you had stacked bars you would have to have the labels in the centre of each stacked bar.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 09:37:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Labels-on-Top-of-Graph-Builder-Bars/m-p/510402#M73768</guid>
      <dc:creator>Phil_Kay</dc:creator>
      <dc:date>2022-06-15T09:37:12Z</dc:date>
    </item>
  </channel>
</rss>

