+ Reply to Thread
Results 1 to 4 of 4

Floating Bar Chart ?

  1. #1
    Registered User
    Join Date
    11-18-2003
    Posts
    33

    Floating Bar Chart ?

    I have a number of measurements that I would like to bar chart. Each measurement is "from - to", that is to say each measurement has a staring value and an ending value, for example

    Measurement Start End
    1----------------10------20
    2----------------20------60
    3-------------minus 5----40

    What I would like to do is chart these in such a way that I get a bar which starts at the start value and ends at the end value. I have got as far as charting the end values correctly by using the 'stacked column' chart type with two series - the start value and the difference - and making the start value bar transparent, and this works if all the values are positive. The problem is, it doesn't show the negative part of the bar.

    Is there a way to achieve this (am using Excel 2002) ?

    Addendum : I just realised you can do this with the 'stock' chart type (using an arbitrary middle point as closing price), but you can only chart the values as lines, not columns. Is there a way to make the lines into columns ?
    Last edited by Blewyn; 01-24-2007 at 10:05 AM.

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Take a look at Jon's brilliant solution
    http://peltiertech.com/Excel/Charts/...ngColumns.html
    HTH
    Carim


    Top Excel Links

  3. #3
    Registered User
    Join Date
    11-18-2003
    Posts
    33
    Carim,

    Thanks for the link, but I still have a problem. My data includes negative 'start' values. so for example my data can be :

    start end

    -10 30
    -20 40

    When I try to plot using the 2-series method described in the link, the negative portion of the bar doesn't show - because the bar is actually a value related to the axis origin (zero). How can I make floating bars that includes subzero values ?

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Blewyn
    Carim,

    Thanks for the link, but I still have a problem. My data includes negative 'start' values. so for example my data can be :

    start end

    -10 30
    -20 40

    When I try to plot using the 2-series method described in the link, the negative portion of the bar doesn't show - because the bar is actually a value related to the axis origin (zero). How can I make floating bars that includes subzero values ?
    Hi,

    would you like to post a sample chart, with a small amount of relative data.

    ---
    Si fractum non sit, noli id reficere.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1