cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
sibanibisoyi
Level I

Adding Data Labels in a graph using scripting

Hello,

I need help in adding the Data Labels in a graph using Scripting. I want to display always the data value of the recent row. 

I marked the column as Label, and I also marked the row as label. But I don't know how can I write the script for the same.

 

 

1 REPLY 1
txnelson
Super User

Re: Adding Data Labels in a graph using scripting

Below is an example of how to accomplish what you want.  You need to get familiar with the Scripting Index.  It will provide you with the documentation and examples of how to do things such as you have asked.

     Help==>Scripting Index

Names Default To Here( 1 );
dt = Current Data Table();
dt:Column 1 << Set labelled;
dt << select where( :Pressure == 60 ) << label;
Jim

Recommended Articles