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
3a518d0f
Commit
3a518d0f
authored
Apr 03, 2017
by
SergeyLuzyanin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Bug 34650
parent
c4f034ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
common/Drawings/CommonController.js
common/Drawings/CommonController.js
+5
-2
No files found.
common/Drawings/CommonController.js
View file @
3a518d0f
...
...
@@ -2909,17 +2909,21 @@ DrawingObjectsController.prototype =
}
chart_space.setStyle(style_index);
}*/
var
chart
=
chart_space
.
chart
;
var
plot_area
=
chart
.
plotArea
;
var
type
=
chartSettings
.
getType
();
if
(
AscFormat
.
isRealNumber
(
style_index
)){
--
style_index
;
var
oCurChartSettings
=
this
.
getPropsFromChart
(
chartSpace
);
var
_cur_type
=
oCurChartSettings
.
type
;
if
(
AscCommon
.
g_oChartPresets
[
_cur_type
]
&&
AscCommon
.
g_oChartPresets
[
_cur_type
][
style_index
]){
plot_area
.
removeCharts
(
1
,
plot_area
.
charts
.
length
-
1
);
AscFormat
.
ApplyPresetToChartSpace
(
chartSpace
,
AscCommon
.
g_oChartPresets
[
_cur_type
][
style_index
],
chartSettings
.
bCreate
);
return
;
}
}
var
chart
=
chart_space
.
chart
;
var
title_show_settings
=
chartSettings
.
getTitle
();
if
(
title_show_settings
===
c_oAscChartTitleShowSettings
.
none
)
{
...
...
@@ -2940,7 +2944,6 @@ DrawingObjectsController.prototype =
chart
.
title
.
setOverlay
(
title_show_settings
===
c_oAscChartTitleShowSettings
.
overlay
);
}
}
var
plot_area
=
chart
.
plotArea
;
//horAxisLabel
...
...
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