<?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: Help with stacked bar graph/overlaying bar graphs in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Help-with-stacked-bar-graph-overlaying-bar-graphs/m-p/440269#M68867</link>
    <description>&lt;P&gt;Did u try using the color option?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use color and overlay at the same time, maybe that can help&lt;/P&gt;
&lt;P&gt;E.g. overall time is the overlay&lt;/P&gt;
&lt;P&gt;and then the individual process goes into color. or vice versa- try em out i do thesame thing to show different abundances of taxonmic levels&lt;/P&gt;
&lt;P&gt;also very important- select row order levels as the value order of the columns in the data table that has the order you want&lt;/P&gt;
&lt;P&gt;good luck&lt;/P&gt;</description>
    <pubDate>Sun, 28 Nov 2021 08:48:25 GMT</pubDate>
    <dc:creator>ezorlo</dc:creator>
    <dc:date>2021-11-28T08:48:25Z</dc:date>
    <item>
      <title>Help with stacked bar graph/overlaying bar graphs</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-stacked-bar-graph-overlaying-bar-graphs/m-p/53826#M30408</link>
      <description>&lt;P&gt;Does anyone have any advice for modifying graph builders default scripts? I'm trying to build a stacked bar graph of some data but my issue is that jmps "stacked" option sums all of my data together (stacking it all), when I would rather it&amp;nbsp;not sum the data and essentially overlay the different layers into one bar. Here are some pictures to help.&lt;BR /&gt;&lt;BR /&gt;So my starting point is this bar graph, with my different classes represented side-by-side.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="side.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10067i2DB7618F379AB485/image-size/medium?v=v2&amp;amp;px=400" role="button" title="side.PNG" alt="side.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see here my highest value is roughly 1:00:00. I would like to condense each of the coverage categories into one bar, but the default options are not pretty. If I stack them (see below) it sums them all and my highest value becomes 4:00:00 which is not desirable.&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="stacked.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10069i4E51422C45B35460/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stacked.PNG" alt="stacked.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The closest option is nested (below), but frankly this looks absolutely terrible and hurts my eyes.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="nested.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10070iD09218B12C9FA039/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nested.PNG" alt="nested.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is there a way to modify this nested format so all the bars have the same width, and the shortest ORF Length bar is placed as the top layer, so that all ORF Length bars are visible in a single bar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bullet style (below) is also a similar option. But the problem here is; again not all bars are equal widths, and more importlantly it doesn't reorder how the ORF Length bars are ordered, so many of the shorter bars (ie 500) are hidden behind larger bars.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="bullet.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10071i4DD8C498A3CDEDB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bullet.PNG" alt="bullet.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any thoughts or ideas how to fix/clean this up? Attached is the data table if anyone wants to play with it. I'm essentially trying to hybridize the nested and bullet formats. Also when trying to modify the scripts the types are just listed as "stacked", "bullet", etc. Does anyone know where these type modifiers point to so I could manually play with those parts of the scripts?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;edit&lt;/STRONG&gt;: Here is what I'm trying to do (this is just a manual mockup from powerpoint using rectangles to construct my bars). I'm looking at how long it took a program to execute a command on various datasets (coverage level) with different settings enabled (ORF Length). So every coverage level at every ORF length is an independent run with its own result. Here I'm going for the visual aesthetic of the stacked bar graph, but overlaying NOT stacking the bars. So each color bar accurately depicts the time it took for that individual process.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Demo.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10075i4A70EC9A03DCCEDF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Demo.PNG" alt="Demo.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 14:29:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-stacked-bar-graph-overlaying-bar-graphs/m-p/53826#M30408</guid>
      <dc:creator>MrS</dc:creator>
      <dc:date>2018-03-26T14:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with stacked bar graph</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-stacked-bar-graph-overlaying-bar-graphs/m-p/53832#M30411</link>
      <description>&lt;P&gt;I may be completely off base with this, but I don't really understand what you are trying to do.&amp;nbsp; Using time on the Y axis seems to me to call for not using a bar chart at all.&amp;nbsp; I've attached a different version (the second stored script) that could be what you are looking for.&amp;nbsp; If not, then just ignore this.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 11:29:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-stacked-bar-graph-overlaying-bar-graphs/m-p/53832#M30411</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2018-03-26T11:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help with stacked bar graph</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-stacked-bar-graph-overlaying-bar-graphs/m-p/53837#M30415</link>
      <description>&lt;P&gt;Thanks Dale for that script, and while it's not what I'm trying to do with this graph I may use it for other things. This may help, here's a quick hack of what I would like to do (just done in powerpoint manually with rectangles for the bars).&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Demo.PNG" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10074i0B7CE49F72537E37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Demo.PNG" alt="Demo.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking at the time it took a single program to complete a task with different settings (ORF length) on different datasets (coverage levels). So this format (the fake one above) is really the most useful to me. However, I'm struggling to get jmp to recreate that graph&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 13:29:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-stacked-bar-graph-overlaying-bar-graphs/m-p/53837#M30415</guid>
      <dc:creator>MrS</dc:creator>
      <dc:date>2018-03-26T13:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with stacked bar graph</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-stacked-bar-graph-overlaying-bar-graphs/m-p/53877#M30436</link>
      <description>&lt;P&gt;I struggled to understand what you were trying to achieve at first. But I think I get it now. The bars are completely overlaying the ones behind.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I imagine there wold be some way to recreate this in JMP but I do not think it will be simple. As far as I am aware there is no standard option to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my opinion there is a problem with the graph that you have proposed in that people will not understand that the bars for other categories are overlayed on top of each other. They will assume that this is classic stacked bar chart. So they will think that 500 is the biggest ORF length category for 0.1 coverage when it is, as I understand it, the smallest category.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But perhaps the graph is for your eyes only. Understanding the audience is important in deciding upon the visualisation to use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally I am not a fan of stacked bars in any case as they make comparisons difficult.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you can create a better visualisation of this data that will communicate the data more clearly to the intended audience. I think I would try Run Time on the X-axis, ORF length categories on the Y-axis and Coverage in the Group X or Wrap roles.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry I coudn't help with creating the graph that you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Phil&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 20:39:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-stacked-bar-graph-overlaying-bar-graphs/m-p/53877#M30436</guid>
      <dc:creator>Phil_Kay</dc:creator>
      <dc:date>2018-03-26T20:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with stacked bar graph/overlaying bar graphs</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-stacked-bar-graph-overlaying-bar-graphs/m-p/53998#M30503</link>
      <description>&lt;P&gt;To get this kind of view, I would sort the table by group and value, compute the value deltas in a new column, and then stack those delta values. However, you still may have a challenge convincing other viewers that these are overlaid bars instead of regular stacked bars.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are a couple more options: a line chart and the "float" style of bar chart ,which essentially is just showing the tops of&amp;nbsp;your overlaid bars.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-03-27 at 9.18.13 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10118iCCC4269B5A91845C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2018-03-27 at 9.18.13 PM.png" alt="Screen Shot 2018-03-27 at 9.18.13 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-03-27 at 9.18.33 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10119iC0256BC733ED691A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2018-03-27 at 9.18.33 PM.png" alt="Screen Shot 2018-03-27 at 9.18.33 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 01:23:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-stacked-bar-graph-overlaying-bar-graphs/m-p/53998#M30503</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2018-03-28T01:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with stacked bar graph/overlaying bar graphs</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-stacked-bar-graph-overlaying-bar-graphs/m-p/440269#M68867</link>
      <description>&lt;P&gt;Did u try using the color option?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use color and overlay at the same time, maybe that can help&lt;/P&gt;
&lt;P&gt;E.g. overall time is the overlay&lt;/P&gt;
&lt;P&gt;and then the individual process goes into color. or vice versa- try em out i do thesame thing to show different abundances of taxonmic levels&lt;/P&gt;
&lt;P&gt;also very important- select row order levels as the value order of the columns in the data table that has the order you want&lt;/P&gt;
&lt;P&gt;good luck&lt;/P&gt;</description>
      <pubDate>Sun, 28 Nov 2021 08:48:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-stacked-bar-graph-overlaying-bar-graphs/m-p/440269#M68867</guid>
      <dc:creator>ezorlo</dc:creator>
      <dc:date>2021-11-28T08:48:25Z</dc:date>
    </item>
  </channel>
</rss>

