projects
/
dygraphs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
merge
[dygraphs.git]
/
gallery
/
gallery-template.js
1
// Use this as a template for new Gallery entries.
2
Gallery
.
register
(
3
'id'
,
4
{
5
name
:
'name'
,
6
title
:
'title'
,
7
setup
:
function
(
parent
) {
8
parent
.
innerHTML
=
"<div id='blah'>"
;
9
},
10
run
:
function
() {
11
g
=
new
Dygraph
(
document
.
getElementById
(
"blah"
),
12
"X,Y
\n
10,12345
\n
11,12345
\n
"
, {});
13
}
14
});