PDA

View Full Version : How do I make a segmented bar graph?


Mitch Wagner
2012-02-06, 10:57 AM
I'm looking to make a segmented bar graph -- combine the five bars on this chart into a single, multi-colored line. Can I do that in OmniGraphSketcher? How?

https://img.skitch.com/20120206-k5r9y88im4dx6fe5iu6cmfqrc3.preview.jpg (https://skitch.com/mitchwagner/g9r37/skitched-20120206-115529)Click for large view (https://skitch.com/mitchwagner/g9r37/skitched-20120206-115529) - Uploaded with Skitch (http://skitch.com)

Thanks!

dave_m
2012-02-07, 10:08 AM
Currently all bars must extend to an axis, so you would make your bars longer by the sum of the other lengths, then stack them.

This means the red bar would be ~13 + the length of the blue bar, or ~35. The green bar would have the ~35 added to its length, etc. Graph elements of the same type stack in creation order, newest on top. So the shortest ones need to be created (or cut/pasted) last.