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
33565aa5
Commit
33565aa5
authored
Apr 27, 2013
by
David Schnur
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1035 from brianpeiris/patch-2
Add links between API.md and README.md
parents
0fdb4996
321f3a49
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
API.md
API.md
+1
-1
README.md
README.md
+3
-3
No files found.
API.md
View file @
33565aa5
...
@@ -8,7 +8,7 @@ var plot = $.plot(placeholder, data, options)
...
@@ -8,7 +8,7 @@ var plot = $.plot(placeholder, data, options)
The placeholder is a jQuery object or DOM element or jQuery expression
The placeholder is a jQuery object or DOM element or jQuery expression
that the plot will be put into. This placeholder needs to have its
that the plot will be put into. This placeholder needs to have its
width and height set as explained in the
README
(go read that now if
width and height set as explained in the
[
README
](
README.md
)
(
go
read that now if
you haven't, it's short). The plot will modify some properties of the
you haven't, it's short). The plot will modify some properties of the
placeholder so it's recommended you simply pass in a div that you
placeholder so it's recommended you simply pass in a div that you
don't use for anything else. Make sure you check any fancy styling
don't use for anything else. Make sure you check any fancy styling
...
...
README.md
View file @
33565aa5
...
@@ -71,9 +71,9 @@ $.plot($("#placeholder"), data, options);
...
@@ -71,9 +71,9 @@ $.plot($("#placeholder"), data, options);
Here, data is an array of data series and options is an object with
Here, data is an array of data series and options is an object with
settings if you want to customize the plot. Take a look at the
settings if you want to customize the plot. Take a look at the
examples for some ideas of what to put in or look at the
reference
examples for some ideas of what to put in or look at the
in the file
`API.txt`
. Here's a quick example that'll draw a line from
[
API reference
](
API.md
)
. Here's a quick example that'll draw a line
(0, 0) to (1, 1):
from
(0, 0) to (1, 1):
```
js
```
js
$
.
plot
(
$
(
"#placeholder"
),
[
[[
0
,
0
],
[
1
,
1
]]
],
{
yaxis
:
{
max
:
1
}
});
$
.
plot
(
$
(
"#placeholder"
),
[
[[
0
,
0
],
[
1
,
1
]]
],
{
yaxis
:
{
max
:
1
}
});
...
...
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