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
bfaa4b25
Commit
bfaa4b25
authored
Mar 30, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add definition of sparklines
parent
30b64e72
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
0 deletions
+58
-0
cell/model/Serialize.js
cell/model/Serialize.js
+18
-0
cell/model/WorkbookElems.js
cell/model/WorkbookElems.js
+40
-0
No files found.
cell/model/Serialize.js
View file @
bfaa4b25
...
@@ -921,6 +921,21 @@
...
@@ -921,6 +921,21 @@
Percent
:
4
,
Percent
:
4
,
Percentile
:
5
Percentile
:
5
};
};
var
ESparklineType
=
{
Line
:
0
,
Column
:
1
,
Stacked
:
2
};
var
EDispBlanksAs
=
{
Span
:
0
,
Gap
:
1
,
Zero
:
2
};
var
SparklineAxisMinMax
=
{
Individual
:
0
,
Group
:
1
,
Custom
:
2
};
var
DocumentPageSize
=
new
function
()
{
var
DocumentPageSize
=
new
function
()
{
this
.
oSizes
=
[
this
.
oSizes
=
[
...
@@ -7823,6 +7838,9 @@
...
@@ -7823,6 +7838,9 @@
window
[
"
Asc
"
].
EFontScheme
=
EFontScheme
;
window
[
"
Asc
"
].
EFontScheme
=
EFontScheme
;
window
[
"
Asc
"
].
EIconSetType
=
EIconSetType
;
window
[
"
Asc
"
].
EIconSetType
=
EIconSetType
;
window
[
"
Asc
"
].
ECfType
=
ECfType
;
window
[
"
Asc
"
].
ECfType
=
ECfType
;
window
[
"
Asc
"
].
ESparklineType
=
ESparklineType
;
window
[
"
Asc
"
].
EDispBlanksAs
=
EDispBlanksAs
;
window
[
"
Asc
"
].
SparklineAxisMinMax
=
SparklineAxisMinMax
;
window
[
"
Asc
"
].
CTableStyles
=
CTableStyles
;
window
[
"
Asc
"
].
CTableStyles
=
CTableStyles
;
window
[
"
Asc
"
].
CTableStyle
=
CTableStyle
;
window
[
"
Asc
"
].
CTableStyle
=
CTableStyle
;
...
...
cell/model/WorkbookElems.js
View file @
bfaa4b25
...
@@ -4406,6 +4406,46 @@ CellArea.prototype = {
...
@@ -4406,6 +4406,46 @@ CellArea.prototype = {
}
}
};
};
function
sparklineGroups
()
{
this
.
arrSparklineGroup
=
[];
}
function
sparklineGroup
()
{
// attributes
this
.
manualMax
=
undefined
;
this
.
manualMin
=
undefined
;
this
.
lineWeight
=
0.75
;
this
.
type
=
Asc
.
ESparklineType
.
Line
;
this
.
dateAxis
=
false
;
this
.
displayEmptyCellsAs
=
Asc
.
EDispBlanksAs
.
Zero
;
this
.
markers
=
false
;
this
.
high
=
false
;
this
.
low
=
false
;
this
.
first
=
false
;
this
.
last
=
false
;
this
.
negative
=
false
;
this
.
displayXAxis
=
false
;
this
.
displayHidden
=
false
;
this
.
minAxisType
=
Asc
.
SparklineAxisMinMax
.
Individual
;
this
.
maxAxisType
=
Asc
.
SparklineAxisMinMax
.
Individual
;
this
.
rightToLeft
=
false
;
// elements
this
.
colorSeries
=
null
;
// ToDo добавить значения по умолчанию
this
.
colorNegative
=
null
;
this
.
colorAxis
=
null
;
this
.
colorMarkers
=
null
;
this
.
colorFirst
=
null
;
this
.
colorLast
=
null
;
this
.
colorHigh
=
null
;
this
.
colorLow
=
null
;
this
.
arrSparklines
=
[];
}
function
sparkline
()
{
this
.
sqref
=
'
??
'
;
// ToDo добавить значение по умолчанию
this
.
f
=
'
??
'
;
}
// For Auto Filters
// For Auto Filters
/** @constructor */
/** @constructor */
function
TablePart
(
handlers
)
{
function
TablePart
(
handlers
)
{
...
...
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