<?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 Change legend font color in graph builder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Change-legend-font-color-in-graph-builder/m-p/434704#M68435</link>
    <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im creating some graphs and I wanted to change the font color of my legend to black (standard is white). Since I want to use the Legend within my graph (background color is white), you can't see the legend at all. I couldn't find out, how to change the legend font color in jmp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope you can help me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Bastian&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:19:15 GMT</pubDate>
    <dc:creator>Cloob</dc:creator>
    <dc:date>2023-06-11T11:19:15Z</dc:date>
    <item>
      <title>Change legend font color in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Change-legend-font-color-in-graph-builder/m-p/434704#M68435</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im creating some graphs and I wanted to change the font color of my legend to black (standard is white). Since I want to use the Legend within my graph (background color is white), you can't see the legend at all. I couldn't find out, how to change the legend font color in jmp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope you can help me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Bastian&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:19:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-legend-font-color-in-graph-builder/m-p/434704#M68435</guid>
      <dc:creator>Cloob</dc:creator>
      <dc:date>2023-06-11T11:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Change legend font color in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Change-legend-font-color-in-graph-builder/m-p/434747#M68437</link>
      <description>&lt;P&gt;I am not sure how to do this through the user interface, but you can change it with a script:&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/iris.jmp" );

gb = Graph Builder(
	Size( 531, 456 ),
	Show Control Panel( 0 ),
	Legend Position( "Inside Right" ),
	Variables( X( :Sepal length ), Y( :Sepal width ), Overlay( :Species ) ),
	Elements( Points( X, Y, Legend( 4 ) ) )
);

//Use XPath to find all LegendBoxes (there is only one), pick the first
//one that is returned, and set its text color to red
(gb &amp;lt;&amp;lt; XPath("//LegendBox"))[1] &amp;lt;&amp;lt; Text Color("red")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;That said, I'm not sure why yours defaults to white, here is the chart I get when running that script before setting the text color:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ih_0-1636502302407.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/37451iB0F7BB0A61CDB279/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ih_0-1636502302407.png" alt="ih_0-1636502302407.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 23:59:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-legend-font-color-in-graph-builder/m-p/434747#M68437</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2021-11-09T23:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Change legend font color in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Change-legend-font-color-in-graph-builder/m-p/435586#M68481</link>
      <description>&lt;P&gt;You can change this color with the user interface. Here is how to do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Right-click (Windows) or Command-Click (MacOS) on the gray triangle to the left of the Graph Builder outline at the top left and select Show Properties. Then select the legend in the display on the left of the new window. This action will highlight the properties for this display box on the left side. The second item in the list is the text color.&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="gb property.PNG" style="width: 919px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/37485i700F61C1726E6D5E/image-size/large?v=v2&amp;amp;px=999" role="button" title="gb property.PNG" alt="gb property.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 17:34:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-legend-font-color-in-graph-builder/m-p/435586#M68481</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2021-11-11T17:34:53Z</dc:date>
    </item>
  </channel>
</rss>

