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
9e1d5244
Commit
9e1d5244
authored
Jul 01, 2011
by
Michael Zinsmaier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial commit v0.1
parent
f90cccf2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
393 additions
and
0 deletions
+393
-0
curvedLines.js
curvedLines.js
+356
-0
example.js
example.js
+19
-0
exampleFit.js
exampleFit.js
+18
-0
No files found.
curvedLines.js
0 → 100644
View file @
9e1d5244
This diff is collapsed.
Click to expand it.
example.js
0 → 100644
View file @
9e1d5244
<
div
id
=
"flotOrig"
><
/div
>
<
script
id
=
"source"
language
=
"javascript"
type
=
"text/javascript"
>
$
(
function
()
{
var
d1
=
[[
20
,
20
],
[
42
,
60
],
[
54
,
20
],
[
80
,
80
]];
var
options
=
{
series
:
{
curvedLines
:
{
active
:
true
}
},
axis
:
{
min
:
10
,
max
:
100
},
yaxis
:
{
min
:
10
,
max
:
90
}
};
$
.
plot
(
$
(
"#flotOrig"
),
[{
data
:
d1
,
curvedLines
:
{
show
:
true
,
lineWidth
:
3
}},
{
data
:
d1
,
points
:
{
show
:
true
}}],
options
);
});
<
/script>
\ No newline at end of file
exampleFit.js
0 → 100644
View file @
9e1d5244
<
div
id
=
"flotFit"
><
/div
>
<
script
id
=
"source"
language
=
"javascript"
type
=
"text/javascript"
>
$
(
function
()
{
var
d1
=
[[
20
,
20
],
[
42
,
60
],
[
54
,
30
],
[
80
,
80
]];
var
options
=
{
series
:
{
curvedLines
:
{
active
:
true
}
},
xaxis
:
{
min
:
10
,
max
:
100
},
yaxis
:
{
min
:
10
,
max
:
90
}
};
$
.
plot
(
$
(
"#flotFit"
),
[{
data
:
d1
,
curvedLines
:
{
show
:
true
,
fit
:
true
,
fitPointDist
:
0.000001
,
lineWidth
:
3
}},
{
data
:
d1
,
points
:
{
show
:
true
}}],
options
);
});
<
/script>
\ 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