Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
F
flot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HS-public
flot
Commits
d4f93a28
Commit
d4f93a28
authored
Feb 14, 2013
by
David Schnur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow 'false' to be provided as a stack option.
This resolves #18, but without catching zero, which is a valid key.
parent
be9f60d2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
jquery.flot.stack.js
jquery.flot.stack.js
+2
-2
No files found.
jquery.flot.stack.js
View file @
d4f93a28
...
...
@@ -15,7 +15,7 @@ key (which can be any number or string or just "true"). To specify the default
stack, you can set the stack option like this:
series: {
stack: null
or true or
key (number/string)
stack: null
/false, true, or a
key (number/string)
}
You can also specify it for a single series, like this:
...
...
@@ -55,7 +55,7 @@ charts or filled areas).
}
function
stackData
(
plot
,
s
,
datapoints
)
{
if
(
s
.
stack
==
null
)
if
(
s
.
stack
==
null
||
s
.
stack
===
false
)
return
;
var
other
=
findMatchingSeries
(
s
,
plot
.
getData
());
...
...
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