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
ce81f744
Commit
ce81f744
authored
8 years ago
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
изменен порядок отрисовки данных 3d диаграмм(3d bar chart)
parent
4162cd86
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
391 deletions
+54
-391
common/Charts/3DTransformation.js
common/Charts/3DTransformation.js
+2
-2
common/Charts/ChartsDrawer.js
common/Charts/ChartsDrawer.js
+52
-389
No files found.
common/Charts/3DTransformation.js
View file @
ce81f744
...
...
@@ -382,7 +382,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
)
...
...
@@ -427,7 +427,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
...
...
This diff is collapsed.
Click to expand it.
common/Charts/ChartsDrawer.js
View file @
ce81f744
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