<?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 étiquettes dans un graphique in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/%C3%A9tiquettes-dans-un-graphique/m-p/827522#M100920</link>
    <description>&lt;P&gt;bonjour,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Est-ce qu'il ya une astuce vis jsl pour faire afficher les étiquettes à partir d'une certaine valeur qu'on pourrait choisir ? pour ce graphique, on ferait afficher que les étiquettes des valeurs les plus grandes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cordialement&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="Capture3.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/71970i9077F59D16900FB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jan 2025 08:01:26 GMT</pubDate>
    <dc:creator>Françoise</dc:creator>
    <dc:date>2025-01-16T08:01:26Z</dc:date>
    <item>
      <title>étiquettes dans un graphique</title>
      <link>https://community.jmp.com/t5/Discussions/%C3%A9tiquettes-dans-un-graphique/m-p/827522#M100920</link>
      <description>&lt;P&gt;bonjour,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Est-ce qu'il ya une astuce vis jsl pour faire afficher les étiquettes à partir d'une certaine valeur qu'on pourrait choisir ? pour ce graphique, on ferait afficher que les étiquettes des valeurs les plus grandes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cordialement&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="Capture3.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/71970i9077F59D16900FB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 08:01:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%C3%A9tiquettes-dans-un-graphique/m-p/827522#M100920</guid>
      <dc:creator>Françoise</dc:creator>
      <dc:date>2025-01-16T08:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: étiquettes dans un graphique</title>
      <link>https://community.jmp.com/t5/Discussions/%C3%A9tiquettes-dans-un-graphique/m-p/828417#M101025</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;Françoise,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;A fast solution would be to change the format of the label. Either by clicking on the Label format on the Graph Builder (see attached image) and adding the formula that works for you or do the same using JSL.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables( X( :Xcolumn ), Y( :Ycolumn ) ), // Replace with your Columns
	Elements(
        Bar( X, Y,
			Label( "Label by Value" ),
			Label Format( "Custom", Formula( If( value &amp;gt; 17.5, value, " " ) ), 4, 0 ) // Here you can set your formula to change the label format
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Another approach could be to create an extra column in your data table (:Label Col) and add this as well to the graph.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope that helps.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Spyros&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 12:06:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%C3%A9tiquettes-dans-un-graphique/m-p/828417#M101025</guid>
      <dc:creator>spyros_megalou</dc:creator>
      <dc:date>2025-01-21T12:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: étiquettes dans un graphique</title>
      <link>https://community.jmp.com/t5/Discussions/%C3%A9tiquettes-dans-un-graphique/m-p/828741#M101073</link>
      <description>&lt;P&gt;Another Trick:&lt;BR /&gt;For lines, you can add labels and select which values will be displayed:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1737587953908.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/72162iB011EFB1EB2D159A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1737587953908.png" alt="hogi_1-1737587953908.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Together with the label, there will be the line:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1737587990032.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/72163i003C18B72448A841/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1737587990032.png" alt="hogi_2-1737587990032.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;one option to hide it:&lt;BR /&gt;adjust the color of the label (e.g. black) and use white for the line:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_3-1737588060722.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/72164i9CD9F7182136C9CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_3-1737588060722.png" alt="hogi_3-1737588060722.png" /&gt;&lt;/span&gt;&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);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Graph Builder(
	Variables( X( :sex ), X( :name, Position( 1 ) ), Y( :height ) ),
	Elements(
		Line( X( 1 ), X( 2 ), Y, Legend( 1 ), Interval Style( "Arrow" ) ),
		Bar( X( 1 ), X( 2 ), Y )
	),
	SendToReport(
		Dispatch( {}, "400", ScaleBox,
			{Legend Model(
				1,
				Properties(
					0,
					{Line Color( 2 ),
					Line Label Properties(
						{Max Value Label( 1 ), Label Color( "Black" ), Width( 9 )}
					)}
				)
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 23:21:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%C3%A9tiquettes-dans-un-graphique/m-p/828741#M101073</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-01-22T23:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: étiquettes dans un graphique</title>
      <link>https://community.jmp.com/t5/Discussions/%C3%A9tiquettes-dans-un-graphique/m-p/828757#M101075</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks Spyros and Hogi for your answers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it's weird: when I use the spyros solution, the labels do not have the same format in the graph; see script copy and chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture 5.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/72174iBB8890416DC23857/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture 5.PNG" alt="Capture 5.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture6.PNG" style="width: 845px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/72175iBDAACF1A21A022FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture6.PNG" alt="Capture6.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 07:35:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%C3%A9tiquettes-dans-un-graphique/m-p/828757#M101075</guid>
      <dc:creator>Françoise</dc:creator>
      <dc:date>2025-01-23T07:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: étiquettes dans un graphique</title>
      <link>https://community.jmp.com/t5/Discussions/%C3%A9tiquettes-dans-un-graphique/m-p/829089#M101097</link>
      <description>&lt;P&gt;&lt;SPAN data-olk-copy-source="MessageBody"&gt; I think the problem is that the setting for decimal points (it's 0 in this case) do not work in the custom label&amp;nbsp;format. My workaround is to go full width (12) and round the value up to the preferred number of decimals.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Variables( X( :Xcolumn ), Y( :YColumn ) ), //Replace with your columns
	Elements(
		Bar(X,Y,
			Label( "Label by Value" ),
			Label Format(
				"Custom",
				Formula( If( value &amp;gt; 1500, Round( value, 2 ), " " ) ), //here you can set your formula and Round the value to any number of decimal points
				12, // full width
				0
			)
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-olk-copy-source="MessageBody"&gt;I have also attached an example table with the script included. I hope that solves the issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 08:00:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%C3%A9tiquettes-dans-un-graphique/m-p/829089#M101097</guid>
      <dc:creator>spyros_megalou</dc:creator>
      <dc:date>2025-01-24T08:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: étiquettes dans un graphique</title>
      <link>https://community.jmp.com/t5/Discussions/%C3%A9tiquettes-dans-un-graphique/m-p/829208#M101114</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it's OK.&lt;/P&gt;&lt;P&gt;thanks !&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture7.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/72270iAA7DE7A3D8FD1423/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture7.PNG" alt="Capture7.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2025 14:20:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/%C3%A9tiquettes-dans-un-graphique/m-p/829208#M101114</guid>
      <dc:creator>Françoise</dc:creator>
      <dc:date>2025-01-25T14:20:12Z</dc:date>
    </item>
  </channel>
</rss>

