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
b942d5c1
Commit
b942d5c1
authored
May 24, 2014
by
Michael
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README
parent
dddb14a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
README
README
+14
-11
No files found.
README
View file @
b942d5c1
...
...
@@ -7,11 +7,12 @@ Feel free to add additional features and correct errors.
Regards Michael
Update:
added tests/Issue18.htm with a better explanation of the curvePointFactor and fitPointDist parameter!
### Update:
added tests/Issue18.htm with a better explanation of the curvePointFactor
and fitPointDist parameter!
how to use it:
###
how to use it:
____________________________________________________
var d1 = [[5,5],[7,3],[9,12]];
...
...
@@ -19,18 +20,20 @@ added tests/Issue18.htm with a better explanation of the curvePointFactor and fi
var options = { series: { curvedLines: { active: true }}};
//you might want to adjust curvePointFactor
$.plot($("#placeholder"), [{data = d1, lines: { show: true}, curvedLines: {apply: true}}], options);
$.plot($("#placeholder"), [{data = d1, lines: { show: true},
curvedLines: {apply: true}}], options);
_____________________________________________________
options:
###
options:
_____________________________________________________
active: bool true => plugin can be used
apply: bool true => series will be drawn as curved line
fit: bool true => forces the max,mins of the curve to be on the datapoints
curvePointFactor int defines how many "virtual" points are used per "real" data point to
emulate the curvedLines (points total = real points * curvePointFactor)
fitPointDist: int defines the x axis distance of the additional two points that are used
to enforce the min max condition.
_____________________________________________________
fit: bool true => forces the max,mins of the curve to
be on the datapoints
curvePointFactor int defines how many "virtual" points are used per "real" data
point to emulate the curvedLines (points total = real
points * curvePointFactor)
fitPointDist: int defines the x axis distance of the additional two points
that are used to enforce the min max condition.
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