<?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 Re: Fill Color for Normal Box Plots in Graph Builder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66441#M34423</link>
    <description>&lt;P&gt;Thanks for your fast reply. That points in right direction. How does an JSL code in an add-in look like, in order to fill up to 5 empty boxes withe RGB colors?&lt;/P&gt;</description>
    <pubDate>Fri, 03 Aug 2018 19:04:26 GMT</pubDate>
    <dc:creator>Thomas1</dc:creator>
    <dc:date>2018-08-03T19:04:26Z</dc:date>
    <item>
      <title>Fill Color for Normal Box Plots in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66380#M34408</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Is there a effective way to color&amp;nbsp;of or example five&amp;nbsp;box plots (normal style)&amp;nbsp;with fill color in&amp;nbsp;graph builder by using a add-in or JSL? The five different colors should be defined&amp;nbsp;via&amp;nbsp;RGB values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I don't want to use box plots with style solid, because of faded colors and missing fences. Attach a file with one colored box plot.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:25:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66380#M34408</guid>
      <dc:creator>Thomas1</dc:creator>
      <dc:date>2023-06-09T23:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fill Color for Normal Box Plots in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66383#M34411</link>
      <description>&lt;P&gt;RGB Color() seems to be what you're looking for.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
	Size( 754, 490 ),
	Show Control Panel( 0 ),
	Variables( X( :BoxNo ), Y( :RandomVaules ), Overlay( :BoxNo ) ),
	Elements( Box Plot( X, Y, Legend( 4 ), Outliers( 0 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				4,
				Properties( 0, {Line Color( -14948892 ), Fill Color( RGB Color(100, 0, 0) )} ),
				Properties( 1, {Line Color( -3636920 )} ),
				Properties( 2, {Line Color( -5091146 )} ),
				Properties( 3, {Line Color( -9981603 )} ),
				Properties( 4, {Line Color( -16744192 )} )
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Aug 2018 16:24:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66383#M34411</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-08-03T16:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fill Color for Normal Box Plots in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66441#M34423</link>
      <description>&lt;P&gt;Thanks for your fast reply. That points in right direction. How does an JSL code in an add-in look like, in order to fill up to 5 empty boxes withe RGB colors?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 19:04:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66441#M34423</guid>
      <dc:creator>Thomas1</dc:creator>
      <dc:date>2018-08-03T19:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fill Color for Normal Box Plots in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66471#M34426</link>
      <description>&lt;P&gt;I'm not sure what you're looking for.&amp;nbsp; Do you want to have the user choose the colors in a dialog?&amp;nbsp; You want it to work for exactly 5 groups or any number of groups? The answer would vary quite a bit depending on the intended use of the add-in.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;color1 = RGB Color(100,0,0);
color2 = RGB Color(50,120,50);
color3 = RGB Color(210,0,180);
color4 = RGB Color(130,130,200);
color5 = RGB Color(10,190,70);

Graph Builder(
	Size( 754, 490 ),
	Show Control Panel( 0 ),
	Variables( X( :BoxNo ), Y( :RandomVaules ), Overlay( :BoxNo ) ),
	Elements( Box Plot( X, Y, Legend( 4 ), Outliers( 0 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model(
				4,
				Properties( 0, {Line Color( -14948892 ), Fill Color( color1 )} ),
				Properties( 1, {Line Color( -3636920 ), Fill Color( color2 )} ),
				Properties( 2, {Line Color( -5091146 ), Fill Color( color3 )} ),
				Properties( 3, {Line Color( -9981603 ), Fill Color( color4 )} ),
				Properties( 4, {Line Color( -16744192 ), Fill Color( color5 )} )
			)}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Aug 2018 19:39:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66471#M34426</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-08-03T19:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Fill Color for Normal Box Plots in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66486#M34433</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I'm interested in an add-in, which I can apply on every new box plots created with the graph builder, in order to fill the boxes with the specified corporate colors.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 20:21:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66486#M34433</guid>
      <dc:creator>Thomas1</dc:creator>
      <dc:date>2018-08-03T20:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fill Color for Normal Box Plots in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66525#M34443</link>
      <description>&lt;P&gt;I'm sure it's do-able, but that's too big of a task to do for free :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 15:56:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66525#M34443</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-08-04T15:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fill Color for Normal Box Plots in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66805#M34496</link>
      <description>&lt;P&gt;Thanks for the reply. Do you have any suggestions in which direction the add-in should go?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 22:21:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66805#M34496</guid>
      <dc:creator>Thomas1</dc:creator>
      <dc:date>2018-08-06T22:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fill Color for Normal Box Plots in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66816#M34499</link>
      <description>&lt;P&gt;The tricky thing is going to be making the add-in robust to different situations.&amp;nbsp; What if someone nests 2 factors in the X drop zone?&amp;nbsp; What if there's Group X and Group Y variables?&amp;nbsp; You need to figure out at the beginning what the limitations of your add-in are going to be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you need to kind of storyboard out an approach to the whole add-in so you can figure out what sub-tasks you will need to figure out. Here's a rough idea of what that might look like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Present the user with a dialog window for casting columns into specific roles for the plot.&amp;nbsp; This will act as a front end to Graph Builder&lt;/LI&gt;&lt;LI&gt;When the user specifies a column for the X-axis (grouping&amp;nbsp;variables), the script determines all the unique values&amp;nbsp;in that column.&lt;/LI&gt;&lt;LI&gt;The dialog window is updated with a lineup box containing a list of the levels of X, and dropdown boxes that allow the user to select a color for each level of X.&lt;/LI&gt;&lt;LI&gt;User presses OK, which will do the following:&lt;UL&gt;&lt;LI&gt;Stores all inputs into variables for execution&lt;/LI&gt;&lt;LI&gt;check that all required inputs are provided.&amp;nbsp; If not, return a descriptive error message&lt;/LI&gt;&lt;LI&gt;Build the Graph Builder script and execute it.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;After you map everything out, work on 1 piece at a time.&amp;nbsp; Just make sure the pieces are going to fit together in the end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 23:51:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66816#M34499</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-08-06T23:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Fill Color for Normal Box Plots in Graph Builder</title>
      <link>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66817#M34500</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;It can be very tricky to work with fill colors and Overlay mode in Graph Builder. If&amp;nbsp;the boxes are reduced by a local data filter and one goes back to origin number of boxes, the fill color is partly&amp;nbsp;disappeared.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thats the reason why I’m interested in an add-in for fill colors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;May be a part solution could be helpful. In almost every case I could get or recover the fill color by adding or renewing the following JSL code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;SendToReport(&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Dispatch(&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;{},&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;"400",&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;ScaleBox,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;{Legend Model(&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;4,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Properties( 0, {Line Color( -14948892 ), Fill Color( 67 )} ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Properties( 1, {Line Color( -3636920 ), Fill Color( 69 )} ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Properties( 2, {Line Color( -5091146 ), Fill Color( 68 )} ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Properties( 3, {Line Color( -9981603 ), Fill Color( 72 )} ),&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Properties( 4, {Line Color( -16744192 ), Fill Color( 73 )} )&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;)}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Is there any way to build an add-in to add only this part? In this case it would be possible, to run the add-in in graph builder and to repair the fill colors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Attached the JSL code for the uploaded file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 03:24:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fill-Color-for-Normal-Box-Plots-in-Graph-Builder/m-p/66817#M34500</guid>
      <dc:creator>Thomas1</dc:creator>
      <dc:date>2018-08-07T03:24:55Z</dc:date>
    </item>
  </channel>
</rss>

