help with graph scaling

mcb7722

New Member
Joined
Jul 5, 2007
Messages
14
I have two sets of data, one which reflects the other exactly (ie one is stock in Eaches, the other is stock in weeks of supply)

When plotting the two data sets for most of my graphs (300 SKU's) there is a slight difference is the auto scaling.

How can I set up the chart so there appears to be only one line, even though both sets of data are there on top of each other perfectly?
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
I have the graph set up with dual y-axis, so the left axis is set to eaches and the right is set to weeks
 
Upvote 0
Is there any way to set the max value of the scale on both y-axis to be 110% of the maximum value?

ex

EA y-axis = max(range of EA)*1.1
wks y-axis = max(range of wks)*1.1
 
Upvote 0
Figured it out......

Sheets("Data Chart").Select
With ActiveChart.Axes(xlValue)
.MinimumScale = 0
.MaximumScale = value
.MinorUnitIsAuto = True
.MajorUnitIsAuto = True
End With
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,551
Members
449,088
Latest member
davidcom

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
Back
Top