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
4678d097
Commit
4678d097
authored
Apr 27, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix open charts
parent
296dcd65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
common/Charts/DrawingObjects.js
common/Charts/DrawingObjects.js
+15
-11
No files found.
common/Charts/DrawingObjects.js
View file @
4678d097
...
@@ -19,6 +19,10 @@ var BBoxInfo = AscFormat.BBoxInfo;
...
@@ -19,6 +19,10 @@ var BBoxInfo = AscFormat.BBoxInfo;
var
MOVE_DELTA
=
AscFormat
.
MOVE_DELTA
;
var
MOVE_DELTA
=
AscFormat
.
MOVE_DELTA
;
var
c_oAscError
=
Asc
.
c_oAscError
;
var
c_oAscError
=
Asc
.
c_oAscError
;
var
c_oAscChartTypeSettings
=
Asc
.
c_oAscChartTypeSettings
;
var
c_oAscChartTitleShowSettings
=
Asc
.
c_oAscChartTitleShowSettings
;
var
c_oAscGridLinesSettings
=
Asc
.
c_oAscGridLinesSettings
;
var
c_oAscValAxisRule
=
Asc
.
c_oAscValAxisRule
;
var
c_oAscInsertOptions
=
Asc
.
c_oAscInsertOptions
;
var
c_oAscInsertOptions
=
Asc
.
c_oAscInsertOptions
;
var
c_oAscDeleteOptions
=
Asc
.
c_oAscDeleteOptions
;
var
c_oAscDeleteOptions
=
Asc
.
c_oAscDeleteOptions
;
var
c_oAscSelectionType
=
Asc
.
c_oAscSelectionType
;
var
c_oAscSelectionType
=
Asc
.
c_oAscSelectionType
;
...
@@ -374,24 +378,24 @@ CSparklineView.prototype.initFromSparkline = function(oSparkline, oSparklineGrou
...
@@ -374,24 +378,24 @@ CSparklineView.prototype.initFromSparkline = function(oSparkline, oSparklineGrou
val_ax_props
.
putTickLabelsPos
(
c_oAscTickLabelsPos
.
TICK_LABEL_POSITION_NONE
);
val_ax_props
.
putTickLabelsPos
(
Asc
.
c_oAscTickLabelsPos
.
TICK_LABEL_POSITION_NONE
);
val_ax_props
.
putInvertValOrder
(
false
);
val_ax_props
.
putInvertValOrder
(
false
);
val_ax_props
.
putDispUnitsRule
(
c_oAscValAxUnits
.
none
);
val_ax_props
.
putDispUnitsRule
(
Asc
.
c_oAscValAxUnits
.
none
);
val_ax_props
.
putMajorTickMark
(
c_oAscTickMark
.
TICK_MARK_NONE
);
val_ax_props
.
putMajorTickMark
(
Asc
.
c_oAscTickMark
.
TICK_MARK_NONE
);
val_ax_props
.
putMinorTickMark
(
c_oAscTickMark
.
TICK_MARK_NONE
);
val_ax_props
.
putMinorTickMark
(
Asc
.
c_oAscTickMark
.
TICK_MARK_NONE
);
val_ax_props
.
putCrossesRule
(
c_oAscCrossesRule
.
auto
);
val_ax_props
.
putCrossesRule
(
Asc
.
c_oAscCrossesRule
.
auto
);
var
cat_ax_props
=
new
AscCommon
.
asc_CatAxisSettings
();
var
cat_ax_props
=
new
AscCommon
.
asc_CatAxisSettings
();
cat_ax_props
.
putIntervalBetweenLabelsRule
(
c_oAscBetweenLabelsRule
.
auto
);
cat_ax_props
.
putIntervalBetweenLabelsRule
(
Asc
.
c_oAscBetweenLabelsRule
.
auto
);
cat_ax_props
.
putLabelsPosition
(
c_oAscLabelsPosition
.
betweenDivisions
);
cat_ax_props
.
putLabelsPosition
(
Asc
.
c_oAscLabelsPosition
.
betweenDivisions
);
cat_ax_props
.
putTickLabelsPos
(
c_oAscTickLabelsPos
.
TICK_LABEL_POSITION_NONE
);
cat_ax_props
.
putTickLabelsPos
(
Asc
.
c_oAscTickLabelsPos
.
TICK_LABEL_POSITION_NONE
);
cat_ax_props
.
putLabelsAxisDistance
(
100
);
cat_ax_props
.
putLabelsAxisDistance
(
100
);
cat_ax_props
.
putMajorTickMark
(
c_oAscTickMark
.
TICK_MARK_NONE
);
cat_ax_props
.
putMajorTickMark
(
Asc
.
c_oAscTickMark
.
TICK_MARK_NONE
);
cat_ax_props
.
putMinorTickMark
(
c_oAscTickMark
.
TICK_MARK_NONE
);
cat_ax_props
.
putMinorTickMark
(
Asc
.
c_oAscTickMark
.
TICK_MARK_NONE
);
cat_ax_props
.
putIntervalBetweenTick
(
1
);
cat_ax_props
.
putIntervalBetweenTick
(
1
);
cat_ax_props
.
putCrossesRule
(
c_oAscCrossesRule
.
auto
);
cat_ax_props
.
putCrossesRule
(
Asc
.
c_oAscCrossesRule
.
auto
);
if
(
oSparklineGroup
.
rightToLeft
)
if
(
oSparklineGroup
.
rightToLeft
)
{
{
cat_ax_props
.
putInvertCatOrder
(
true
);
cat_ax_props
.
putInvertCatOrder
(
true
);
...
...
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