This is what I getting with vb code..
Degrees
X1 and Y1 are static for testing
X2 and Y2 are calculated.
ALL X and Y are pixels
X2 = X1+100 pix
Y2 = ??
Dim Angle As Double = (Levels(k) * Math.PI) / 180
Dim y2 As Integer = CInt((100 * Math.Tan(Angle)))
This is what I get ...(NOT Trendlines are converted to rays)
NOTE: Chart is a even box so scalling is nullified.
Degrees
X1 and Y1 are static for testing
X2 and Y2 are calculated.
ALL X and Y are pixels
X2 = X1+100 pix
Y2 = ??
Dim Angle As Double = (Levels(k) * Math.PI) / 180
Dim y2 As Integer = CInt((100 * Math.Tan(Angle)))
This is what I get ...(NOT Trendlines are converted to rays)
NOTE: Chart is a even box so scalling is nullified.
