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
fdace1b6
Commit
fdace1b6
authored
8 years ago
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update axis properties
parent
2007d679
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
2 deletions
+35
-2
common/Drawings/Format/ChartFormat.js
common/Drawings/Format/ChartFormat.js
+34
-2
common/Drawings/Format/ChartSpace.js
common/Drawings/Format/ChartSpace.js
+1
-0
No files found.
common/Drawings/Format/ChartFormat.js
View file @
fdace1b6
...
...
@@ -4869,6 +4869,22 @@ CCatAx.prototype =
}
},
handleUpdateFill
:
function
()
{
if
(
this
.
parent
&&
this
.
parent
.
parent
&&
this
.
parent
.
parent
.
parent
)
{
this
.
parent
.
parent
.
parent
.
handleUpdateInternalChart
();
}
},
handleUpdateLn
:
function
()
{
if
(
this
.
parent
&&
this
.
parent
.
parent
&&
this
.
parent
.
parent
.
parent
)
{
this
.
parent
.
parent
.
parent
.
handleUpdateInternalChart
();
}
},
Undo
:
function
(
data
)
{
switch
(
data
.
Type
)
...
...
@@ -8043,6 +8059,22 @@ CValAx.prototype =
this
.
parent
=
pr
;
},
handleUpdateFill
:
function
()
{
if
(
this
.
parent
&&
this
.
parent
.
parent
&&
this
.
parent
.
parent
.
parent
)
{
this
.
parent
.
parent
.
parent
.
handleUpdateInternalChart
();
}
},
handleUpdateLn
:
function
()
{
if
(
this
.
parent
&&
this
.
parent
.
parent
&&
this
.
parent
.
parent
.
parent
)
{
this
.
parent
.
parent
.
parent
.
handleUpdateInternalChart
();
}
},
Undo
:
function
(
data
)
{
switch
(
data
.
Type
)
...
...
@@ -8203,7 +8235,7 @@ CValAx.prototype =
}
case
AscDFH
.
historyitem_ValAxSetSpPr
:
{
this
.
axId
=
data
.
oldPr
;
this
.
spPr
=
data
.
oldPr
;
break
;
}
case
AscDFH
.
historyitem_ValAxSetTickLblPos
:
...
...
@@ -8392,7 +8424,7 @@ CValAx.prototype =
}
case
AscDFH
.
historyitem_ValAxSetSpPr
:
{
this
.
axId
=
data
.
newPr
;
this
.
spPr
=
data
.
newPr
;
if
(
this
.
parent
&&
this
.
parent
.
parent
&&
this
.
parent
.
parent
.
parent
)
{
this
.
parent
.
parent
.
parent
.
handleUpdateInternalChart
();
...
...
This diff is collapsed.
Click to expand it.
common/Drawings/Format/ChartSpace.js
View file @
fdace1b6
...
...
@@ -1959,6 +1959,7 @@ CChartSpace.prototype.handleUpdateInternalChart = function()
this
.
recalcInfo
.
recalculateMarkers
=
true
;
this
.
recalcInfo
.
recalculatePlotAreaBrush
=
true
;
this
.
recalcInfo
.
recalculatePlotAreaPen
=
true
;
this
.
recalcInfo
.
recalculateAxisTickMark
=
true
;
//this.recalcInfo.dataLbls.length = 0;
//this.recalcInfo.axisLabels.length = 0;
this
.
recalcInfo
.
recalculateAxisVal
=
true
;
...
...
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