I have a chart plotted of the type '.ChartType = xlLine. - I want the line to be at a specific values on my X axis (it seems the addline function uses pixels or something) - so say my X axis goes from 9 to 15 - I now want the line drawn at the value 12.35 on the X axis - starting at the start of the Y axis and end at the end of the Y axis - how can I calculate my X coordinates. I also need to calculate the Y coordiante where the two axis meet on my chart as well as the Y coordinate where my Y axis ends.
I hope this makes sense
I hope this makes sense
Code:
[/SIZE]
[SIZE=3] With .Shapes.AddLine(200, 0, 200, 250) '(BeginX, BeginY, EndX, EndY)
.Line.ForeColor.SchemeColor = 10
.Line.Visible = msoTrue
.Line.Weight = 1.5
.Line.Visible = msoTrue
.Line.Style = msoLineSingle
.Line.DashStyle = msoLineSquareDot
End With[/SIZE]
[SIZE=3]