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
cf9b23b0
Commit
cf9b23b0
authored
Feb 18, 2013
by
Eric Puidokas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added threshold example
parent
8a5ad820
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
exampleThreshold.js
exampleThreshold.js
+19
-0
No files found.
exampleThreshold.js
0 → 100644
View file @
cf9b23b0
$
(
function
()
{
//<div id="flotOrig" style="width: 800;height: 400;"></div>
var
d1
=
[[
20
,
20
],
[
42
,
60
],
[
54
,
20
],
[
80
,
80
]];
var
options
=
{
series
:
{
curvedLines
:
{
active
:
true
},
threshold
:
{
below
:
40
,
color
:
"rgb(0, 0, 0)"
}
},
axis
:
{
min
:
10
,
max
:
100
},
yaxis
:
{
min
:
10
,
max
:
90
}
};
$
.
plot
(
$
(
"#flotOrig"
),
[{
data
:
d1
,
lines
:
{
show
:
true
,
lineWidth
:
3
},
curvedLines
:
{
apply
:
true
}},
{
data
:
d1
,
points
:
{
show
:
true
}}],
options
);
});
\ No newline at end of file
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