<?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: Bubble Color Variation in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bubble-Color-Variation/m-p/126246#M10402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure. I'll copy in some screenshots to show what I did. The task is part of the 'graph' group (which uses PROC GTILE I believe).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The setup of the data is very important. The classification variables (the drill down groupings) must be set up so that you can follow that same hierarchy in the data. In my example, I start with 4 groups by month, then drill into two error types (preventable and non-preventable), and finally the information at its most granular level is in groups of error names. So there needs to be a record in your data set for each month/error type/error name grouping. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="tilechart data setup.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3854_tilechart data setup.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then here are the ways I set up the task. I chose 3 colors, negative values in red transitioning to positive values in green with a white transition color in the middle (in this case, there are extreme values, most of the data is close to the midpoint, therefore much of my chart is white unfortunately.) Then I chose max and min values of the same absolute value so that the chart would have a symmetric range around zero (in reality, the positive and negative sides were unbalanced and by default SAS made the midpoint for the colors approx -100k).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="task - data tab.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3851_task - data tab.JPG" width="450" /&gt;&lt;IMG alt="task - appear1.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3852_task - appear1.JPG" width="450" /&gt;&lt;IMG alt="task - appear2.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3853_task - appear2.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jul 2013 12:54:44 GMT</pubDate>
    <dc:creator>cau83</dc:creator>
    <dc:date>2013-07-05T12:54:44Z</dc:date>
    <item>
      <title>Bubble Color Variation</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bubble-Color-Variation/m-p/126243#M10399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello SAS/GRAPH and chart users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using three variables to generate this bubble chart: year, month, price&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="bubble.jpg" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3839_bubble.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to control color of these bubbles depending on size? For instance have two categories - blue for big and pink for little ones?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankfully,&lt;/P&gt;&lt;P&gt;Dhanashree Gadkari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 16:54:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bubble-Color-Variation/m-p/126243#M10399</guid>
      <dc:creator>noobs</dc:creator>
      <dc:date>2013-07-03T16:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Bubble Color Variation</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bubble-Color-Variation/m-p/126244#M10400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't used a bubble chart in SAS. Have you checked the SAS web site to see what options are available for this version of proc gplot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be a different chart type, but you could use the 'tile chart'. EG will let you set multiple colors and it blends them together based on your values. I've attached an example I made when I was testing it out a few months ago. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A bonus feature of the tile chart is that in the html format you can drill down. so you could start with tiles by year, then drill into a year and see the months in greater detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="tile chart sample.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3840_tile chart sample.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 19:46:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bubble-Color-Variation/m-p/126244#M10400</guid>
      <dc:creator>cau83</dc:creator>
      <dc:date>2013-07-03T19:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bubble Color Variation</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bubble-Color-Variation/m-p/126245#M10401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess there is no way to control color variation in bubble statement. There is BFILL=gradient option for &lt;SPAN class="shortDescription"&gt;generating gradient-filled bubbles. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="paraSimpleFirst"&gt;By default, the JAVA and ActiveX devices create solid bubbles.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="listUnordered"&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="item" style="margin-top: 0.7em;"&gt;&lt;SPAN class="item" style="margin-top: 0.7em;"&gt;&lt;A name="p104qyvx0fnyyzn1oq4f53xrqufc" style="font-size: 13.600000381469727px; font-family: inherit;"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class="paraSimpleFirst"&gt;&lt;A name="p0r4lanfxmkiy7n11ff6rc5roysq" style="font-size: 13.600000381469727px; font-family: inherit;"&gt;&lt;/A&gt;BFILL=SOLID fills the bubbles with the color specified by the BCOLOR= option. If the BFILL option is not specified, then the color is specified by the current style. If you are using specific ODS style, the color comes from the contrast color attribute within the GraphData1 style element.&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="item" style="margin-top: 0.7em;"&gt;&lt;SPAN class="item" style="margin-top: 0.7em;"&gt;&lt;A name="p19u6yf04n4xuln172mjl1g86hlo" style="font-size: 13.600000381469727px; font-family: inherit;"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P class="paraSimpleFirst"&gt;&lt;A name="p0mcuxl2fk59j1n1gxrumxzyy1xx" style="font-size: 13.600000381469727px; font-family: inherit;"&gt;&lt;/A&gt;BFILL=GRADIENT starts with the current axis area color and gradually transitions to the color specified with the BCOLOR= option or the color of the current style. If you are using an ODS style, the colors are controlled by the startcolor and endcolor attributes of the TwoColorAltRamp style element.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class="paraSimple" style="margin-top: 0.7em;"&gt;&lt;A name="p18u92d5o1uht4n12egs7p7ambu4" style="font-size: 13.600000381469727px; font-family: inherit;"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P class="summary" style="margin: 0.7em 0px 0px 2em; text-indent: -2em;"&gt;&lt;/P&gt;&lt;DIV style="margin-top: 0.7em;"&gt;&lt;SPAN class="restriction" style="font-weight: bold; font-size: 0.9em; padding-right: 1em;"&gt;Restriction:&lt;/SPAN&gt;Not supported by Java and ActiveX&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0.7em;"&gt;&lt;SPAN class="summaryNote" style="font-weight: bold; font-size: 0.9em; padding-right: 1em;"&gt;Note:&lt;/SPAN&gt;The SAS/GRAPH ActiveX control displays negative values as empty circles.&lt;/P&gt;&lt;P style="margin-top: 0.7em;"&gt;&lt;/P&gt;&lt;P style="margin-top: 0.7em;"&gt;However my setup is not displaying gradience. I am currently using Ocean ods html style with ActiveX for Graph as my Tools-&amp;gt;Options settings. Changing this to JPEG or non-Java and non-ActiveX, gives me compile time errors.&lt;/P&gt;&lt;P style="margin-top: 0.7em;"&gt;&lt;/P&gt;&lt;P style="margin-top: 0.7em;"&gt;I am looking for something similar to LEVELS option provided for chrono statement in maps. &lt;/P&gt;&lt;P style="margin-top: 0.7em;"&gt;&lt;/P&gt;&lt;P style="margin-top: 0.7em;"&gt;Mr. Chris, can you share gplot step for tile chart you generated above; it might clear haze in deciding if this kind of chart can help out. Thank you so much.&lt;/P&gt;&lt;P style="margin-top: 0.7em;"&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 12:26:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bubble-Color-Variation/m-p/126245#M10401</guid>
      <dc:creator>noobs</dc:creator>
      <dc:date>2013-07-05T12:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bubble Color Variation</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bubble-Color-Variation/m-p/126246#M10402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure. I'll copy in some screenshots to show what I did. The task is part of the 'graph' group (which uses PROC GTILE I believe).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The setup of the data is very important. The classification variables (the drill down groupings) must be set up so that you can follow that same hierarchy in the data. In my example, I start with 4 groups by month, then drill into two error types (preventable and non-preventable), and finally the information at its most granular level is in groups of error names. So there needs to be a record in your data set for each month/error type/error name grouping. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="tilechart data setup.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3854_tilechart data setup.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then here are the ways I set up the task. I chose 3 colors, negative values in red transitioning to positive values in green with a white transition color in the middle (in this case, there are extreme values, most of the data is close to the midpoint, therefore much of my chart is white unfortunately.) Then I chose max and min values of the same absolute value so that the chart would have a symmetric range around zero (in reality, the positive and negative sides were unbalanced and by default SAS made the midpoint for the colors approx -100k).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="task - data tab.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3851_task - data tab.JPG" width="450" /&gt;&lt;IMG alt="task - appear1.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3852_task - appear1.JPG" width="450" /&gt;&lt;IMG alt="task - appear2.JPG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/3853_task - appear2.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 12:54:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bubble-Color-Variation/m-p/126246#M10402</guid>
      <dc:creator>cau83</dc:creator>
      <dc:date>2013-07-05T12:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Bubble Color Variation</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bubble-Color-Variation/m-p/126247#M10403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok.. thank you. this was quite enlightening.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jul 2013 02:45:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Bubble-Color-Variation/m-p/126247#M10403</guid>
      <dc:creator>noobs</dc:creator>
      <dc:date>2013-07-07T02:45:54Z</dc:date>
    </item>
  </channel>
</rss>

