<?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 JMP Chart on C# and visual studio in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-Chart-on-C-and-visual-studio/m-p/291171#M55614</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am using JMP 12. Using the Automation Reference document and the JMPStarter C# sample application, I was able to get a simple C# application working.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am plotting numeric values (CpD) on Y axis and want to show the values of it on the graph. I can do it in JMP but can't seem to find a way to do it in visual studio c# code. I did try the showpoints method but that doesn't seem to show the points on the graph. Below is what I have now. Any help on this would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;ch = doc.CreateChart();
ch.LaunchAddY("CpD", JMP.chartStatConstants.chartStatMin);
ch.LaunchAddX("Current Layer");
ch.ShowPoints(true);

ch.Launch();&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Abdul&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:05:18 GMT</pubDate>
    <dc:creator>ambhuiya</dc:creator>
    <dc:date>2023-06-11T11:05:18Z</dc:date>
    <item>
      <title>JMP Chart on C# and visual studio</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Chart-on-C-and-visual-studio/m-p/291171#M55614</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am using JMP 12. Using the Automation Reference document and the JMPStarter C# sample application, I was able to get a simple C# application working.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am plotting numeric values (CpD) on Y axis and want to show the values of it on the graph. I can do it in JMP but can't seem to find a way to do it in visual studio c# code. I did try the showpoints method but that doesn't seem to show the points on the graph. Below is what I have now. Any help on this would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;ch = doc.CreateChart();
ch.LaunchAddY("CpD", JMP.chartStatConstants.chartStatMin);
ch.LaunchAddX("Current Layer");
ch.ShowPoints(true);

ch.Launch();&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Abdul&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:05:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Chart-on-C-and-visual-studio/m-p/291171#M55614</guid>
      <dc:creator>ambhuiya</dc:creator>
      <dc:date>2023-06-11T11:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Chart on C# and visual studio</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Chart-on-C-and-visual-studio/m-p/293632#M55644</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/20179"&gt;@ambhuiya&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I no longer have JMP 12 loaded on my PC and my C# is very rusty, however, in my previous job when helping programmers using C# and JMP automation, the programmers often found it more productive to use the automation command &lt;STRONG&gt;Run JSL&lt;/STRONG&gt;. In other words, they would write the JSL actions using JSL messages and just use C# or VisualBasic to manipulate the objects they created.&amp;nbsp; The last time I did such a consultation the group I supported was using JMP 11.&amp;nbsp; Some JMP platform options were not exposed via automation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know if that will help your problem, and JMP 12&amp;nbsp; might not have those issues.&amp;nbsp; This is just an FYI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good Luck.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 14:02:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Chart-on-C-and-visual-studio/m-p/293632#M55644</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2020-08-28T14:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Chart on C# and visual studio</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Chart-on-C-and-visual-studio/m-p/293930#M55664</link>
      <description>&lt;DIV class="jmp-author-username"&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/70"&gt;@gzmorgan0&lt;/a&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="jmp-author-rank"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="jmp-author-rank"&gt;Thanks a lot for your reply and suggestion. It did work! It actually made a lot of things much easier as I can integrate JSL on C#. The main thing I had to use was the run command method. Here is a snippet, if someone else needs it in the future:&lt;/DIV&gt;
&lt;DIV class="jmp-author-rank"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="jmp-author-rank"&gt;&lt;LI-CODE lang="csharp"&gt;myJMP.RunCommand ("Chart(X( :LAYER),Y(Mean( :SKIP_RATE)), Overlay Axis &amp;lt;&amp;lt; Label by Value, Show Labels, Bar Chart(1))&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;DIV class="jmp-author-rank"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="jmp-author-rank"&gt;Thanks again!&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 Aug 2020 19:20:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Chart-on-C-and-visual-studio/m-p/293930#M55664</guid>
      <dc:creator>ambhuiya</dc:creator>
      <dc:date>2020-08-28T19:20:31Z</dc:date>
    </item>
  </channel>
</rss>

