Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
d0421eba
Commit
d0421eba
authored
Dec 28, 2016
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
fd0c1928
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
common/Charts/ChartsDrawer.js
common/Charts/ChartsDrawer.js
+12
-0
No files found.
common/Charts/ChartsDrawer.js
View file @
d0421eba
...
...
@@ -11184,6 +11184,18 @@ drawSurfaceChart.prototype =
var
xPoints
=
this
.
cChartSpace
.
chart
.
plotArea
.
catAx
.
xPoints
;
var
perspectiveDepth
=
this
.
cChartDrawer
.
processor3D
.
depthPerspective
;
var
getGridPlain
=
function
(
index
)
{
var
gridX1
=
xPoints
[
0
].
pos
*
t
.
chartProp
.
pxToMM
;
var
gridX2
=
xPoints
[
xPoints
.
length
-
1
].
pos
*
t
.
chartProp
.
pxToMM
;
var
gridY1
=
yPoints
[
index
].
pos
*
t
.
chartProp
.
pxToMM
;
var
gridY2
=
yPoints
[
index
].
pos
*
t
.
chartProp
.
pxToMM
;
var
gridPlain
=
t
.
cChartDrawer
.
getPlainEquation
({
x
:
gridX1
,
y
:
gridY1
,
z
:
0
},
{
x
:
gridX2
,
y
:
gridY2
,
z
:
0
},
{
x
:
gridX2
,
y
:
gridY2
,
z
:
perspectiveDepth
});
return
gridPlain
;
};
var
getIntersectionPlaneAndLines
=
function
(
k
,
lines
,
pointsValue
)
{
var
res
=
null
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment