<?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 Add Annotations to Graph from a text data column? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Add-Annotations-to-Graph-from-a-text-data-column/m-p/75583#M35949</link>
    <description>&lt;P&gt;Is there a way to have JMP add annotations to a graph from a text column?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a large data table with time-series data.&amp;nbsp; I would like to create a column called "comments" that contains unstructured text data.&amp;nbsp; This column would be mostly empty,&amp;nbsp;but when a "significant event" occurs a few words would be entered to describe what was happening at that time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, when I am looking at time series data on a platform like Graph Builder, I would like to use this comments column to dynamically add annotations at the timestamps that have comments entered.&amp;nbsp; That way, when I look at a different time period in graph builder, it only shows the annotations that are relevant for that time period.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to be able to turn the annotation display on and off.&amp;nbsp; Perhaps show some kind of indicator symbol on the graph, and when I move the mouse over the symbol it displays the comment.&amp;nbsp; Or alternatively, highlight the points that have annotations at that timestamp, and display the comment in the context menu on mouse-over of that data point.&amp;nbsp; See attached picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone ever tried to do something like this with JMP?&amp;nbsp; Maybe it's possible with some creative use of JSL scripting?&amp;nbsp; Or by assigning the Comments column as a Color or Size variable on the graph?&amp;nbsp; Ideas welcome.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Graph Builder annotations example.jpg" style="width: 640px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12575i3BEBB6C758F8834B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Graph Builder annotations example.jpg" alt="Graph Builder annotations example.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Sep 2018 21:05:37 GMT</pubDate>
    <dc:creator>Chris_Rodrigues</dc:creator>
    <dc:date>2018-09-24T21:05:37Z</dc:date>
    <item>
      <title>Add Annotations to Graph from a text data column?</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Annotations-to-Graph-from-a-text-data-column/m-p/75583#M35949</link>
      <description>&lt;P&gt;Is there a way to have JMP add annotations to a graph from a text column?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a large data table with time-series data.&amp;nbsp; I would like to create a column called "comments" that contains unstructured text data.&amp;nbsp; This column would be mostly empty,&amp;nbsp;but when a "significant event" occurs a few words would be entered to describe what was happening at that time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, when I am looking at time series data on a platform like Graph Builder, I would like to use this comments column to dynamically add annotations at the timestamps that have comments entered.&amp;nbsp; That way, when I look at a different time period in graph builder, it only shows the annotations that are relevant for that time period.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to be able to turn the annotation display on and off.&amp;nbsp; Perhaps show some kind of indicator symbol on the graph, and when I move the mouse over the symbol it displays the comment.&amp;nbsp; Or alternatively, highlight the points that have annotations at that timestamp, and display the comment in the context menu on mouse-over of that data point.&amp;nbsp; See attached picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone ever tried to do something like this with JMP?&amp;nbsp; Maybe it's possible with some creative use of JSL scripting?&amp;nbsp; Or by assigning the Comments column as a Color or Size variable on the graph?&amp;nbsp; Ideas welcome.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Graph Builder annotations example.jpg" style="width: 640px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12575i3BEBB6C758F8834B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Graph Builder annotations example.jpg" alt="Graph Builder annotations example.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 21:05:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Annotations-to-Graph-from-a-text-data-column/m-p/75583#M35949</guid>
      <dc:creator>Chris_Rodrigues</dc:creator>
      <dc:date>2018-09-24T21:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add Annotations to Graph from a text data column?</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Annotations-to-Graph-from-a-text-data-column/m-p/75617#M35962</link>
      <description>&lt;P&gt;Turn on the label attribute for your comments column.&amp;nbsp; When you hover over a point the comment will appear.&amp;nbsp; Move the mouse into the comment box and click the thumbtack to make the comment permanent.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gbcomments.png" style="width: 585px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12574iE1F4DAFB8E49A398/image-size/large?v=v2&amp;amp;px=999" role="button" title="gbcomments.png" alt="gbcomments.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;New Table( "Test GB Comments", Add Rows( 4 ),
	New Script(
		"Y vs. X", Graph Builder(
			Size( 517, 452 ), Show Control Panel( 0 ),
			Variables( X( :X ), Y( :Y ) ),
			Elements( Points( X, Y, Legend( 3 ) ), Line( X, Y, Legend( 5 ) ) )
		)
	),
	New Column( "X", Numeric, "Continuous", Format( "Best", 12 ),
		Set Values( [1, 2, 3, 4] ) ),
	New Column( "Y", Numeric, "Continuous", Format( "Best", 12 ),
		Set Values( [2, 5, 1, 2] ) ),
	New Column( "Comments", Character, "Nominal", 
		Set Values( {"", "Too high", "Too low", ""} ) ),
	Set Label Columns( :Comments )	// This will enable "hover" comments in the graph
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 20:36:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Annotations-to-Graph-from-a-text-data-column/m-p/75617#M35962</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2018-09-24T20:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Add Annotations to Graph from a text data column?</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Annotations-to-Graph-from-a-text-data-column/m-p/279797#M54228</link>
      <description>Hi, I know this is a few years old, but what if you have multiple comments you want pinned to the graph? It might get overwhelming and some lay on top of others.&lt;BR /&gt;Any suggestions there? Can they be minimized?</description>
      <pubDate>Fri, 17 Jul 2020 13:35:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Annotations-to-Graph-from-a-text-data-column/m-p/279797#M54228</guid>
      <dc:creator>kwmcm</dc:creator>
      <dc:date>2020-07-17T13:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Add Annotations to Graph from a text data column?</title>
      <link>https://community.jmp.com/t5/Discussions/Add-Annotations-to-Graph-from-a-text-data-column/m-p/279820#M54234</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/12480"&gt;@kwmcm&lt;/a&gt;&amp;nbsp;You can turn on Label for multiple columns.&amp;nbsp; Every column selected as a Label will appear in the mouseover tooltip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chris_Rodrigues_0-1594996632641.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25442iAB39C8D894091796/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chris_Rodrigues_0-1594996632641.png" alt="Chris_Rodrigues_0-1594996632641.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 14:38:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-Annotations-to-Graph-from-a-text-data-column/m-p/279820#M54234</guid>
      <dc:creator>Chris_Rodrigues</dc:creator>
      <dc:date>2020-07-17T14:38:14Z</dc:date>
    </item>
  </channel>
</rss>

