projects
/
dygraphs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add axis_labels tests that rely on the preferred style of formatting axes.
[dygraphs.git]
/
gallery
/
resize.js
1
Gallery
.
register
(
2
'resize'
,
3
{
4
name
:
'Resizable Graph'
,
5
title
:
'Resize the window. The dygraph will resize with it.'
,
6
setup
:
function
(
parent
) {
7
parent
.
innerHTML
=
"<div id='div_g'>"
;
8
},
9
run
:
function
() {
10
g
=
new
Dygraph
(
11
document
.
getElementById
(
"div_g"
),
12
NoisyData
, {
13
rollPeriod
:
7
,
14
errorBars
:
true
15
}
16
);
17
}
18
});