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
9204f2f6
Commit
9204f2f6
authored
Mar 22, 2016
by
GoshaZotov
Committed by
Alexander.Trofimov
May 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
изменен порядок отрисовки данных 3d диаграмм(3d bar chart)
parent
36d3e018
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
373 deletions
+36
-373
common/Charts/3DTransformation.js
common/Charts/3DTransformation.js
+2
-2
common/Charts/ChartsDrawer.js
common/Charts/ChartsDrawer.js
+34
-371
No files found.
common/Charts/3DTransformation.js
View file @
9204f2f6
...
...
@@ -358,7 +358,7 @@ Processor3D.prototype.convertAndTurnPointRAngAx = function(x, y, z)
var
specialReverseDiff
=
this
.
widthCanvas
/
2
+
(
this
.
left
-
this
.
right
)
/
2
;
projectionPoint
.
offset
(
specialReverseDiff
,
centerYDiff
,
centerZDiff
);
return
{
x
:
projectionPoint
.
x
,
y
:
projectionPoint
.
y
};
return
{
x
:
projectionPoint
.
x
,
y
:
projectionPoint
.
y
,
z
:
z
};
};
Processor3D
.
prototype
.
convertAndTurnPointPerspective
=
function
(
x
,
y
,
z
)
...
...
@@ -403,7 +403,7 @@ Processor3D.prototype.convertAndTurnPointPerspective = function(x, y, z)
var
specialReverseDiffY
=
this
.
heightCanvas
/
2
+
(
this
.
top
-
this
.
bottom
)
/
2
;
projectionPoint
.
offset
(
specialReverseDiffX
,
specialReverseDiffY
,
centerZDiff
);
return
{
x
:
projectionPoint
.
x
,
y
:
projectionPoint
.
y
};
return
{
x
:
projectionPoint
.
x
,
y
:
projectionPoint
.
y
,
z
:
projectionPoint
.
z
};
};
//functions for step transformation point
...
...
common/Charts/ChartsDrawer.js
View file @
9204f2f6
This diff is collapsed.
Click to expand it.
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