<?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: Using a second column as value labels OR How to plot one variable and have another appear as lab in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/225654#M44803</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an elegant way to add the value of each bar in the graph, prefereably&amp;nbsp;vertically on the bar?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2019 06:20:27 GMT</pubDate>
    <dc:creator>godfeatha</dc:creator>
    <dc:date>2019-09-13T06:20:27Z</dc:date>
    <item>
      <title>Using a second column as value labels OR How to plot one variable and have another appear as label</title>
      <link>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/108202#M39367</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two x-variables:&lt;/P&gt;&lt;P&gt;Meeting.# is numeric ordinal (just the Row())&lt;BR /&gt;Meeting.ID is character nominal (can be date or some other text descriptor)&lt;/P&gt;&lt;P&gt;I need to plot attendance (X_2-X_8) against Meeting.# so that I can get a trend. But I want to display Meeting.ID as the x-axis labels.&lt;/P&gt;&lt;P&gt;I tried this approach:&amp;nbsp;&lt;A title="https://community.jmp.com/t5/Discussions/How-to-Add-Value-Labels-to-a-Column-through-JSL/td-p/41604" href="https://community.jmp.com/t5/Discussions/How-to-Add-Value-Labels-to-a-Column-through-JSL/td-p/41604" target="_blank" rel="noopener"&gt;https://community.jmp.com/t5/Discussions/How-to-Add-Value-Labels-to-a-Column-through-JSL/td-p/41604&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But had issues with type-mismatch.&lt;/P&gt;&lt;P&gt;There are other applications of this problem: Experiment.# and Experiment.Description&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is there a better way to do this?&lt;/LI&gt;&lt;LI&gt;Should the be done with Column Property Value Label or as part of Graph Builder?&lt;/LI&gt;&lt;LI&gt;Ditto Value Ordering&lt;/LI&gt;&lt;LI&gt;Should I submit a feature request?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 14:38:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/108202#M39367</guid>
      <dc:creator>markschahl</dc:creator>
      <dc:date>2019-01-29T14:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using a second column as value labels OR How to plot one variable and have another appear as lab</title>
      <link>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/108237#M39379</link>
      <description>&lt;P&gt;Greetings Mark,&lt;/P&gt;
&lt;P&gt;Here is what I did to get to the solution that I believe you need&lt;/P&gt;
&lt;OL style="list-style-position: inside;"&gt;
&lt;LI&gt;Create an new column which has a formula of: &amp;nbsp; &amp;nbsp;&amp;nbsp; :Meeting.ID || "[" || Char( :Meeting.# ) || "]" &amp;nbsp;&amp;nbsp; This makes each entry as a unique entry&lt;/LI&gt;
&lt;LI&gt;Then for the new column, I set the Column Property "Row Order Levels".&amp;nbsp; This means that the order of this column will be the order within the data table that the value is found.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Below are the results I got using your Meeting Attendance BarChart with the column that I generated&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="attendance.PNG" style="width: 635px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/15265iD989D4A64035CBEE/image-size/large?v=v2&amp;amp;px=999" role="button" title="attendance.PNG" alt="attendance.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have attached the data table I used&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 18:01:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/108237#M39379</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-01-29T18:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using a second column as value labels OR How to plot one variable and have another appear as lab</title>
      <link>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/108248#M39382</link>
      <description>&lt;P&gt;Mark, Jim's solution is a good one, and simpler to implement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is an FYI regarding your label script.&amp;nbsp; Below is a script that will provide you with the labels you want. The value labels are assigned to :Meeting.#. Note, since :Meeting.# is numeric it does not require the "1" = "V1_0" but 1 = "V1_0".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
meetID = column("Meeting.#");
textID = column("X__10");
NamesValuesList = {};
For( i = 1, i &amp;lt;= nitems(meetID &amp;lt;&amp;lt; get values ), i++,
	Insert Into(
		NamesValuesList,
		Parse(
			Char( meetID[i] ) || " = \!"" || textID[i] || "\!""
			
		)
	)
);
meetID &amp;lt;&amp;lt; Set Property( "Value Labels", Eval( NamesValuesList ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Jan 2019 18:22:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/108248#M39382</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2019-01-29T18:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using a second column as value labels OR How to plot one variable and have another appear as lab</title>
      <link>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/108279#M39390</link>
      <description>&lt;P&gt;Jim:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the elegant solution!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 20:40:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/108279#M39390</guid>
      <dc:creator>markschahl</dc:creator>
      <dc:date>2019-01-29T20:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using a second column as value labels OR How to plot one variable and have another appear as lab</title>
      <link>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/108280#M39391</link>
      <description>&lt;P&gt;Thanks! From your script I know see why mine did not work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parse( "\!"" || Char(ValuesList[i]) || "\!" = \!"" || LabelsList[i] || "\!"" ) )&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 20:42:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/108280#M39391</guid>
      <dc:creator>markschahl</dc:creator>
      <dc:date>2019-01-29T20:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using a second column as value labels OR How to plot one variable and have another appear as lab</title>
      <link>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/225654#M44803</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an elegant way to add the value of each bar in the graph, prefereably&amp;nbsp;vertically on the bar?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 06:20:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/225654#M44803</guid>
      <dc:creator>godfeatha</dc:creator>
      <dc:date>2019-09-13T06:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using a second column as value labels OR How to plot one variable and have another appear as lab</title>
      <link>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/225668#M44805</link>
      <description>The value for each segment within each bar can be added by specifying to "Label by Value" in the control panel for Graph Builder.  Other labeling could be done using JSL, and "&amp;lt;&amp;lt; Add Graphics Script".</description>
      <pubDate>Fri, 13 Sep 2019 10:09:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/225668#M44805</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-09-13T10:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using a second column as value labels OR How to plot one variable and have another appear as lab</title>
      <link>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/225671#M44806</link>
      <description>&lt;P&gt;Thanks! Guess I can't use "Bullet" and Value labels together.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 12:27:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-a-second-column-as-value-labels-OR-How-to-plot-one/m-p/225671#M44806</guid>
      <dc:creator>godfeatha</dc:creator>
      <dc:date>2019-09-13T12:27:43Z</dc:date>
    </item>
  </channel>
</rss>

