Results 1 to 8 of 8
  1. #1
    kzimm14 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2012
    Posts
    4

    Add Error bars to column chart


    Hello, I am trying to make a chart that has error bars based on the standard error I calculated for my data. The standard error can be calculated either in a query or in a control box in the report itself (currently its a control box in the report itself). I would also like to be able to automatically insert the count (e.g. n=40) in the chart automatically. I have attached a chart I made in Excel that shows they rough format of what I'd like to achieve in my Access Report chart. I have some programming experience so if this requires programming I'm okay with that, but would like need some advice on which properties/events to be setting.

    Thanks in advance.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    50,028
    I have to work with data to figure out graphing. If you want to provide, attach file to post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    kzimm14 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2012
    Posts
    4
    Quote Originally Posted by June7 View Post
    I have to work with data to figure out graphing. If you want to provide, attach file to post.
    The database is 8Mb so its too big to upload? Is there an alternative?

    Thanks.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    50,028
    Even after running Compact and Repair? Zip it, 2mb zip allowed. Otherwise, upload to a fileshare site such as box.com and post link to the file.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    kzimm14 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2012
    Posts
    4
    Unfortunatley, even after compress and repair its still too large even as a zip file. In anycase, I've pulled out some of the data using a make table query and created a report outlining the data I would like to have shown in a column chart like I previously have shown. The simplified database is attached.

    Specifically, I want a chart similar to the one I posted earlier that shows grass or forb % cover on the y axis and on the x axis I want each the data seperated by year and study area (TCA,TC etc). I then want to add error bars using the standard error values and also have the count displayed for each column.

    Hope this makes sense. Thanks in advance.

    Edit:

    Attached is an update showing a column chart I was able to create in Access with the data. However, I want to be able to change the error bars to the values of the standard error from my table and instead of showing the bar values above the bars I want to show the sample size from the count column in my table.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    50,028
    I would like to see the RowSource you used for the graph. I have never seen error bars before. What chart type did you use? How did you set the error series to that symbol?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    kzimm14 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2012
    Posts
    4
    Quote Originally Posted by June7 View Post
    I would like to see the RowSource you used for the graph. I have never seen error bars before. What chart type did you use? How did you set the error series to that symbol?
    I've attached an updated database with the report containing the graph. I simply insterted a column chart and within design view double clicked the chart to get into some sort of chart editor which allows you to double click on one of the chart columns and assign Y Error bars to the data (see attached screen capture). Unfortunately, it only allows you to set Y bars as automatically calculated standard deviation, percent or standard error. I don't want to use the automatically calculated standard error but rather assign it to my standard error field from my table.

    Thanks for your time and effort on this.

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    50,028
    Okay, I understand now how the bars are set. Might not be able to customize them in Access. Access graphing is not as versatile as in Excel. I can't find any references for VBA code to modify the bar values. I have used VBA to modify elements of chart such as titles and scale range, but not the data. And these error bars are not connected to their own data series, they are calculated by the graph.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Who to label all the bars of the chart at a time?
    By jamal numan in forum Access
    Replies: 4
    Last Post: 01-29-2012, 02:18 PM
  2. Scroll Bars
    By Rick West in forum Forms
    Replies: 4
    Last Post: 10-14-2010, 01:00 PM
  3. How To Change Size Of Scroll Bars
    By aamer in forum Access
    Replies: 4
    Last Post: 09-05-2010, 10:55 PM
  4. Replies: 2
    Last Post: 07-12-2010, 05:39 AM
  5. Column Chart Issue
    By Sim_ in forum Access
    Replies: 0
    Last Post: 10-26-2009, 01:05 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums - Senior Forums