Data Visualization Issue - Misaligned on X Axis

jwb1012

Board Regular
Joined
Oct 17, 2016
Messages
167
Hi All,

I attempted to post an attachment, but it appears I do not have this permission? I am attempting to fill the are under my XY scatter plot, but for some reason the area chart and XY scatter plot are just slightly misaligned along the X Axis. If anyone is willing to attempt to recreate this to help me troubleshoot, here is the initial guidance I am following:

https://peltiertech.com/fill-under-between-series-in-excel-chart/



[TABLE="width: 356"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2, align: center"]Area Chart[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: center"]X Value[/TD]
[TD="align: center"]Y Value[/TD]
[/TR]
[TR]
[TD="colspan: 2, align: center"]Scatter Plot[/TD]
[TD="align: right"]-1,000.00[/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD="align: center"]X Value[/TD]
[TD="align: center"]Y Value[/TD]
[TD="align: right"]-914.29[/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD="align: right"]-32,000,000.00[/TD]
[TD="align: right"]0.00[/TD]
[TD="align: right"]-914.29[/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD="align: right"]-14,000,000.00[/TD]
[TD="align: right"]-1.00[/TD]
[TD="align: right"]-400.00[/TD]
[TD="align: right"]-1.00[/TD]
[/TR]
[TR]
[TD="align: right"]-4,000,000.00[/TD]
[TD="align: right"]-2.00[/TD]
[TD="align: right"]-114.29[/TD]
[TD="align: right"]-2.00[/TD]
[/TR]
[TR]
[TD="align: right"]-2,000,000.00[/TD]
[TD="align: right"]-3.00[/TD]
[TD="align: right"]-57.14[/TD]
[TD="align: right"]-3.00[/TD]
[/TR]
[TR]
[TD="align: right"]0.00[/TD]
[TD="align: right"]-3.00[/TD]
[TD="align: right"]0.00[/TD]
[TD="align: right"]-3.00[/TD]
[/TR]
[TR]
[TD="align: right"]0.00[/TD]
[TD="align: right"]-3.00[/TD]
[TD="align: right"]0.00[/TD]
[TD="align: right"]-3.00[/TD]
[/TR]
[TR]
[TD="align: right"]2,000,000.00[/TD]
[TD="align: right"]-3.00[/TD]
[TD="align: right"]57.14[/TD]
[TD="align: right"]-3.00[/TD]
[/TR]
[TR]
[TD="align: right"]4,000,000.00[/TD]
[TD="align: right"]-2.00[/TD]
[TD="align: right"]114.29[/TD]
[TD="align: right"]-2.00[/TD]
[/TR]
[TR]
[TD="align: right"]14,000,000.00[/TD]
[TD="align: right"]-1.00[/TD]
[TD="align: right"]400.00[/TD]
[TD="align: right"]-1.00[/TD]
[/TR]
[TR]
[TD="align: right"]32,000,000.00[/TD]
[TD="align: right"]0.00[/TD]
[TD="align: right"]914.29[/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]914.29[/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]1,000.00[/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]-3.50[/TD]
[TD]Y min[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]0.00[/TD]
[TD]Y max[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Looks great!

Colors from ColorBrewer – http://colorbrewer2.org/

X0gGSnT.png


My workbook – https://www.dropbox.com/s/tmlkn25euy4s67n/funnel_chart.xlsx?dl=0
 
Upvote 0

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Book1
IJKLMNO
5Scatter PlotArea Charts
6x1y1x2y2y3y4
7-32 M00000
8-32 M-10000
9-4 M-2.580000
10-1 M-3.580-1-1-1
110 M-3.5360-2.5-2.5-1
121 M-3.5390-3.5-2.5-1
134 M-2.5400-3.5-2.5-1
1432 M-1410-3.5-2.5-1
1532 M0440-2.5-2.5-1
16720-1-1-1
17720000
18800000
19800000
20
21-40 Mx min0x min
2240 Mx max800x max
ThreeSections

Formula in L9 is copied down through L17: =(I7 + 40000000) / 100000

S45ZFX0.png


New tab added to the file on (in?) Dropbox: https://www.dropbox.com/s/tmlkn25euy4s67n/funnel_chart.xlsx?dl=0
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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