Scatter chart adding extra dates either side of selected data

Shamusvw

New Member
Joined
Feb 1, 2017
Messages
26
Office Version
  1. 2016
Platform
  1. Windows
I pull in data from a MS SQL database, a list of dates with quantities next to them.
Because some dates are missing, I have chosen a scatter chart in order to show these missing dates.
The problem is that my scatter chart is showing an extra day before, and an extra date after my data.
E.g. my data runs from 2017/06/01 to 2017/06/07, but my chart is showing 2017/05/31 to 2017/06/08.
How do I restrict it to the bounds of my data? I don't want to see the last date of the previous month.
I can manually set it in the chart options (i.e.setting the minimum and maximum bounds), but then when my query pulls in fresh data, it won't update to reflect the new data, it will still be set to what I manually typed in.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,186,124
Messages
5,955,977
Members
438,230
Latest member
Meemaw2212

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top