Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
CurvedLines
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
CurvedLines
Commits
0c30f6cb
Commit
0c30f6cb
authored
Dec 18, 2012
by
Thomas-git
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update curvedLines.js
parent
cf5eb584
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
curvedLines.js
curvedLines.js
+3
-0
No files found.
curvedLines.js
View file @
0c30f6cb
...
@@ -159,6 +159,9 @@ _____________________________________________________
...
@@ -159,6 +159,9 @@ _____________________________________________________
newSerie
.
lines
=
$
.
extend
({},
series
.
lines
);
newSerie
.
lines
=
$
.
extend
({},
series
.
lines
);
newSerie
.
lines
.
fill
=
undefined
;
newSerie
.
lines
.
fill
=
undefined
;
newSerie
.
label
=
undefined
;
newSerie
.
label
=
undefined
;
newSerie
.
datapoints
=
{};
//Redefine datapoints to top only (else it can have null values which will open the cruve !)
newSerie
.
datapoints
.
points
=
pointsTop
;
newSerie
.
datapoints
.
pointsize
=
2
;
newSerie
.
lines
.
curved
=
false
;
//Don't redo curve point calculation as datapoint is copied to this new serie
newSerie
.
lines
.
curved
=
false
;
//Don't redo curve point calculation as datapoint is copied to this new serie
//We find our series to add the line just after the fill (so other series you wanted above this one will still be)
//We find our series to add the line just after the fill (so other series you wanted above this one will still be)
var
allSeries
=
plot
.
getData
();
var
allSeries
=
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