1. ### Welcome to Chandoo.org Forums. Short message for you

Hi Guest,

Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

Yours,
Chandoo
2. Hi All

Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

Post Spam and you Will Be Deleted as a User

Hui...

3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

# Drag and drop a line, then auto calculate value with Pythagorean theorem

Discussion in 'Discuss Data Visualizations and Charting' started by DashboardNovice, Oct 12, 2017 at 9:10 PM.

1. ### DashboardNoviceMember

Messages:
377
See 1:20 on this video.

Does Excel have a graphing feature which will let me:
1. Allow me to define the range of X axis values (I would use only positive numbers)
2. Allow me to define the range of Y axis values (I would use only positive numbers)
3. Click a point, drag and drop to another point, then automatically calculate the value of that line (the hypotenuse) using Pythagorean theorem
I know points 1 and 2 are possible, but I don't know about point 3. Is there a feature in Excel that can do this, or maybe an add-in or a plug-in?

If not, is there a software program (ideally one that is free) that can do this?
Last edited by a moderator: Oct 13, 2017 at 8:02 AM
2. ### HuiExcel NinjaStaff Member

Messages:
10,684

To use
Set the X and Y Axis Maximum Values
The Chart will rescale after you type each value

Set how many decimals you want in the solution
Select the chart and then click on the Red line
Drag the ends to where you require
Click the Calculate Button
Enjoy

See attached file ?

#### Attached Files:

File size:
24.7 KB
Views:
2
• ###### Pyhthagoras.xlsm
File size:
24.7 KB
Views:
1
Thomas Kuriakose and p45cal like this.