+ Reply to Thread
Results 1 to 4 of 4

Add Item to Chart (Add Straight Line, Change Bar Chart Shape, Format Axis)

  1. #1
    Forum Contributor
    Join Date
    10-02-2023
    Location
    Singapore
    MS-Off Ver
    Microsoft 365
    Posts
    184

    Add Item to Chart (Add Straight Line, Change Bar Chart Shape, Format Axis)

    Hi, i am doing a Time line for my company,

    However, i am trying to do some cosmetic work. Please refer to my file

    I want to
    1) Add a straightline for Today()
    2) Change the last bar chart to a Arrow
    3) Format the date axis to show 1st day, eomonth and last day
    4) Y-axis gap to be smaller without adjusting the bar width.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    10-17-2007
    Location
    Tasmania, Australia
    MS-Off Ver
    2019, 365(v2403)
    Posts
    366

    Re: Add Item to Chart (Add Straight Line, Change Bar Chart Shape, Format Axis)

    Wasn't able to achieve many of the thing you wanted

    I will keep tinkering.
    Attached Files Attached Files

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,888

    Re: Add Item to Chart (Add Straight Line, Change Bar Chart Shape, Format Axis)

    1) As shown by russkris, you add a scatter data series to the chart with the appropriate values. Other ideas for adding lines to charts: https://peltiertech.com/Excel/Charts/AddLine.html
    2) I'm not sure if or how the mechanics have changed in newer versions. In my older version I can 2A) Select the arrow you've drawn -> 2B) Copy to clipboard -> 2C) Select the data point (click once to select the data series, then click again to select just the one data point) -> 2D) Paste the picture onto the bar. In my case, the pasted arrow was quite a bit thinner than the other bars. I expect that if one took the time to try different pictures of arrows in different proportions, one could find a combination that would render an arrow with a similar width, but I did not bother with the trial and error process.
    3) I know of no build in formatting options for the axis that will do this. The usual method for this -- similar to adding a vertical line -- is to add a "dummy series" (scatter chart probably) that overlays the axis, then add appropriate data labels to that data series. See this tutorial as an example of this kind of technique: https://peltiertech.com/reciprocal-chart-axis-scale/
    4) The only built in way I know to change this is to change the height of the chart area and plot area to get the desired size for each category in the chart, then adjust the gap width property of the data series to get the bar size you want. It shouldn't be difficult, but it may be a tedious trial and error process of trying different combinations of chart height, plot height, and gap width until you find the combination that you like.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Forum Contributor
    Join Date
    10-02-2023
    Location
    Singapore
    MS-Off Ver
    Microsoft 365
    Posts
    184

    Re: Add Item to Chart (Add Straight Line, Change Bar Chart Shape, Format Axis)

    Quote Originally Posted by russkris View Post
    Wasn't able to achieve many of the thing you wanted

    I will keep tinkering.
    Hey. very much appreciated. Thanks very much. But at least there is a straight-line now.
    As for the date-axis, why i want to do that is because i find it easier to see if the axis at eomonth or beginning of month, rather than at mid-month.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 10-18-2021, 11:16 AM
  2. Date axis format/scaling issues on a straight line scatterplot
    By ajoesfu in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 04-17-2020, 06:16 PM
  3. [SOLVED] horizontal axis format on line chart
    By Brian Itotia in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-08-2019, 02:13 PM
  4. Replies: 1
    Last Post: 11-20-2015, 12:50 PM
  5. Straight Line and Trendline Chart together
    By sakmsb in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-24-2013, 05:25 AM
  6. line chart-format x axis for dates
    By Scatter in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-29-2011, 04:59 AM
  7. [SOLVED] How do I change x axis values in a line chart?
    By Elizabeth in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-29-2005, 06:06 AM

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