cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
%3CLINGO-SUB%20id%3D%22lingo-sub-672465%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EJSL%20%E5%A6%82%E4%BD%95%E5%9C%A8%E6%8A%98%E7%B7%9A%E5%9C%96%E4%B8%8A%E6%94%BE%E7%BD%AE%E6%95%B8%E5%AD%97%EF%BC%88%E6%A8%99%E7%B1%A4%EF%BC%89%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-672465%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%3CSTRONG%3E%E6%9C%8B%E5%8F%8B%E5%80%91%E5%A4%A7%E5%AE%B6%E5%A5%BD%EF%BC%8C%E9%9C%80%E8%A6%81%E5%B9%AB%E5%8A%A9%E3%80%82%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%E6%88%91%E7%B9%AA%E8%A3%BD%E4%BA%86%3CSTRONG%3E%E6%8A%98%E7%B7%9A%E5%9C%96%3C%2FSTRONG%3E%E5%92%8C%3CSTRONG%3E%3CEM%3E%E6%89%8B%E5%86%8A%E7%A2%BA%E5%AF%A6%E5%9C%A8%E6%95%B8%E6%93%9A%E6%BA%90%E8%99%95%E6%89%93%E9%96%8B%E4%BA%86%E6%A8%99%E7%B1%A4%E3%80%82%20%E6%95%88%E6%9E%9C%E5%BE%88%E5%A5%BD%E3%80%82%20%3C%2FEM%3E%3C%2FSTRONG%3E%3CEM%3E%E7%84%B6%E8%80%8C%EF%BC%8C%E7%95%B6%E6%88%91%E7%8D%B2%E5%BE%97%E8%A9%B2%E7%B7%9A%E5%9C%96%E7%9A%84%20JSL%20%E4%BB%A3%E7%A2%BC%E4%B8%A6%E9%81%8B%E8%A1%8C%E4%BB%A3%E7%A2%BC%20JSL%20%E6%99%82%EF%BC%8C%3CSTRONG%3E%E8%AE%80%E6%95%B8%EF%BC%88Y%20%E8%BB%B8%E7%9A%84%E6%95%B8%E6%93%9A%E5%80%BC%EF%BC%89%E6%B6%88%E5%A4%B1%E4%BA%86%EF%BC%81%3C%2FSTRONG%3E%3CLI-EMOJI%20id%3D%22lia_disappointed-face%22%20title%3D%22%3Acara_de_decepci%C3%B3n%3A%22%3E%3C%2FLI-EMOJI%3E%20%EF%BC%88%E6%88%91%E5%8F%AA%E5%BE%97%E5%88%B0%E6%B2%92%E6%9C%89%E6%95%B8%E5%80%BC%E7%9A%84%E8%A1%8C%EF%BC%89%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E4%B8%8D%E7%A2%BA%E5%AE%9A%E6%88%91%E5%80%91%E6%98%AF%E5%90%A6%E6%9C%89%20JSL%20%E5%91%BD%E4%BB%A4%E4%BE%86%E6%89%93%E9%96%8B%E6%A8%99%E7%B1%A4%EF%BC%88%E6%95%B8%E6%93%9A%E5%80%BC%EF%BC%89%E4%BB%A5%E5%8F%8A%E5%A6%82%E4%BD%95%E5%9C%A8%E4%BB%A3%E7%A2%BC%E7%B4%9A%E5%88%A5%E5%B0%87%E5%8D%81%E9%80%B2%E5%88%B6%E6%95%B8%E8%A8%AD%E7%BD%AE%E7%82%BA%E6%9F%90%E4%BA%9B%E6%95%B8%E5%AD%97%EF%BC%882%20%E6%88%96%203%20%E4%BD%8D%E6%95%B8%E5%AD%97%EF%BC%89%EF%BC%9F%E8%AB%8B%E4%BB%BB%E4%BD%95%E4%BA%BA%E5%B9%AB%E5%BF%99%E8%A7%A3%E6%B1%BA%E9%80%99%E5%80%8B%E5%95%8F%E9%A1%8C%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3E%E5%B7%A6%E5%81%B4%E6%98%AF%E6%8A%98%E7%B7%9A%E5%9C%96%EF%BC%8C%E6%88%91%E6%83%B3%E8%A6%81%20JSL%20%E5%9C%96%EF%BC%8C%E5%8F%B3%E5%81%B4%E6%98%AF%E5%8E%9F%E5%A7%8B%E6%95%B8%E6%93%9A%20CSV%E3%80%82%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F56101iCC95DD2F9DE4CCCE%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20alt%3D%222023-08-30%2014_51_02-Book1%20-%20Excel.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSTRONG%3E%E9%9D%9E%E5%B8%B8%E6%84%9F%E8%AC%9D%E4%BB%BB%E4%BD%95%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88%E3%80%82%2F%5C%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-672465%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3E%E8%87%AA%E5%8B%95%E5%8C%96%E5%92%8C%E8%85%B3%E6%9C%AC%E7%B7%A8%E5%AF%AB%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3E%E8%A6%96%E7%AA%97%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-672477%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AJSL%20%E5%A6%82%E4%BD%95%E5%9C%A8%E6%8A%98%E7%B7%9A%E5%9C%96%E4%B8%8A%E6%94%BE%E7%BD%AE%E6%95%B8%E5%AD%97%EF%BC%88%E6%A8%99%E7%B1%A4%EF%BC%89%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-672477%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%9C%A8%E6%82%A8%E7%9A%84%E6%83%85%E6%B3%81%E4%B8%8B%EF%BC%88%E6%AF%8F%E5%80%8B%20X%20%E8%BB%B8%E5%80%BC%E5%8F%AA%E6%9C%89%E4%B8%80%E5%80%8B%E9%BB%9E%EF%BC%89%EF%BC%8C%E6%82%A8%E6%87%89%E8%A9%B2%E8%83%BD%E5%A4%A0%E8%AE%93%20JMP%20%E5%90%91%E6%82%A8%E8%A8%98%E9%8C%84%E8%85%B3%E6%9C%AC%E4%B8%A6%E4%BD%BF%E7%94%A8%E5%AE%83%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jthi_0-1693383397581.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1693383397581.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1693383397581.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1693383397581.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1693383397581.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1693383397581.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1693383397581.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1693383397581.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1693383397581.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1693383397581.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_0-1693383397581.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F56102iC8A4A441B1F39AFC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jthi_0-1693383397581.png%22%20alt%3D%22jthi_0-1693383397581.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E6%9B%B4%E5%8F%AF%E9%9D%A0%E7%9A%84%E9%81%B8%E6%93%87%E6%98%AF%E5%B0%87%E7%AC%AC%E4%BA%8C%E5%80%8B%E5%9C%96%E6%B7%BB%E5%8A%A0%E5%88%B0%E5%9C%96%E8%A1%A8%E4%B8%AD%EF%BC%88%E7%B7%9A%E5%AF%AC%E7%82%BA%200%20%E7%9A%84%E6%B5%AE%E5%8B%95%E6%A2%9D%E5%BD%A2%E5%9C%96%EF%BC%89%E4%B8%A6%E6%A8%99%E8%A8%98%E7%82%BA%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jthi_1-1693383513379.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1693383513379.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1693383513379.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1693383513379.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1693383513379.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1693383513379.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1693383513379.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1693383513379.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1693383513379.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1693383513379.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22jthi_1-1693383513379.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F56103i6553C190B0165B3F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jthi_1-1693383513379.png%22%20alt%3D%22jthi_1-1693383513379.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E6%82%A8%E5%8F%AF%E4%BB%A5%E9%81%8B%E8%A1%8C%E8%85%B3%E6%9C%AC%E4%BE%86%E6%B8%AC%E8%A9%A6%E5%AE%83%E6%98%AF%E5%A6%82%E4%BD%95%E5%AE%8C%E6%88%90%E7%9A%84%E4%BB%A5%E5%8F%8A%E5%AE%83%E5%9C%A8%20JMP%20%E4%B8%AD%E7%9A%84%E5%A4%96%E8%A7%80%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%0A%0Adt%20%3D%20Open(%22%24SAMPLE_DATA%2FBig%20Class.jmp%22)%3B%0A%0Agb%20%3D%20dt%20%26lt%3B%26lt%3B%20Graph%20Builder(%0A%20Size(769%2C%20776)%2C%0A%20Variables(X(%3Aname)%2C%20Y(%3Aweight))%2C%0A%20Elements(%0A%20%20Points(X%2C%20Y%2C%20Legend(3)%2C%20Summary%20Statistic(%22Mean%22))%2C%0A%20%20Line(X%2C%20Y%2C%20Legend(4))%2C%0A%20%20Bar(X%2C%20Y%2C%20Legend(5)%2C%20Bar%20Style(%22Float%22)%2C%20Label(%22Label%20by%20Value%22))%0A%20)%2C%0A%20SendToReport(%0A%20%20Dispatch(%7B%22Line%22%7D%2C%20%22%22%2C%20OutlineBox%2C%20%7BClose(0)%7D)%2C%0A%20%20Dispatch(%7B%22Bar%22%7D%2C%20%22%22%2C%20OutlineBox%2C%20%7BClose(0)%7D)%2C%0A%20%20Dispatch(%0A%20%20%20%7B%7D%2C%0A%20%20%20%22400%22%2C%0A%20%20%20ScaleBox%2C%0A%20%20%20%7BLegend%20Model(5%2C%20Properties(0%2C%20%7BLine%20Width(0)%7D%2C%20Item%20ID(%22Mean%22%2C%201)))%7D%0A%20%20)%2C%0A%20%20Dispatch(%0A%20%20%20%7B%7D%2C%0A%20%20%20%22Graph%20Builder%22%2C%0A%20%20%20FrameBox%2C%0A%20%20%20%7BDispatchSeg(BarSeg(1)%2C%20%7BSet%20Width%20Proportion(-1)%7D)%7D%0A%20%20)%0A%20)%0A)%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-672891%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AJSL%20%E5%A6%82%E4%BD%95%E5%9C%A8%E6%8A%98%E7%B7%9A%E5%9C%96%E4%B8%8A%E6%94%BE%E7%BD%AE%E6%95%B8%E5%AD%97%EF%BC%88%E6%A8%99%E7%B1%A4%EF%BC%89%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-672891%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E5%97%A8%EF%BC%8Cjthi%EF%BC%8C%3C%2FP%3E%3CP%3E%E5%A4%9A%E8%AC%9D%E3%80%82%20%E8%AE%93%E6%88%91%E5%98%97%E8%A9%A6%E4%B8%80%E4%B8%8B%EF%BC%8C%E8%AE%93%E4%BD%A0%E7%9F%A5%E9%81%93%E5%AE%83%E6%98%AF%E5%90%A6%E5%B0%8D%E6%88%91%E6%9C%89%E7%94%A8%E3%80%82%3C%2FP%3E%3CP%3E%E4%B8%8D%E7%AE%A1%E6%80%8E%E6%A8%A3%EF%BC%8C%E5%86%8D%E6%AC%A1%E6%84%9F%E8%AC%9D%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
cpbatman
Level II

JSL How to put number(label) on line charts

Hello friends, need some help. 

I plotted the Line Chart and manual did turn on Label at Data Source. It works fine. However when I got the JSL code for this the Line plot, and run code JSL, the reading (Data Value for Y-Axis) is gone!    (I just got only line without number of value) 

I am not sure if do we have JSL command to turn on the label (Data Value) and also how to set decimal number to some digits (2 or 3 digits) in code level?  Anyone please help on this. 

Left side is Line chart that I want JSL plot for me and right side is raw data CSV.

2023-08-30 14_51_02-Book1 - Excel.jpg
Advance thanks a lot for any solution.  /\

2 REPLIES 2
jthi
Super User

Re: JSL How to put number(label) on line charts

In your case (only single point per X-axis value) you should be able to get JMP to record a script to you and use that

jthi_0-1693383397581.png

More robust option would be to add second plot to your graph (float bar chart with 0 line width) and label that

jthi_1-1693383513379.png

Script you can run to test out how it is done and how it looks like in JMP

Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");

gb = dt << Graph Builder(
	Size(769, 776),
	Variables(X(:name), Y(:weight)),
	Elements(
		Points(X, Y, Legend(3), Summary Statistic("Mean")),
		Line(X, Y, Legend(4)),
		Bar(X, Y, Legend(5), Bar Style("Float"), Label("Label by Value"))
	),
	SendToReport(
		Dispatch({"Line"}, "", OutlineBox, {Close(0)}),
		Dispatch({"Bar"}, "", OutlineBox, {Close(0)}),
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(5, Properties(0, {Line Width(0)}, Item ID("Mean", 1)))}
		),
		Dispatch(
			{},
			"Graph Builder",
			FrameBox,
			{DispatchSeg(BarSeg(1), {Set Width Proportion(-1)})}
		)
	)
)
-Jarmo
cpbatman
Level II

Re: JSL How to put number(label) on line charts

Hi jthi,

Thanks a lot. Let me try and let you know if it work for me. 

Anyway, thanks again.