projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding missing license block
[dygraphs.git]
/
gallery
/
highlighted-region.js
diff --git
a/gallery/highlighted-region.js
b/gallery/highlighted-region.js
index
4a13d1e
..
3a951f4
100644
(file)
--- a/
gallery/highlighted-region.js
+++ b/
gallery/highlighted-region.js
@@
-4,9
+4,9
@@
Gallery.register(
name: 'Highlighted Region',
title: 'Draws a time series with an unusual region highlighted',
setup: function(parent) {
name: 'Highlighted Region',
title: 'Draws a time series with an unusual region highlighted',
setup: function(parent) {
- parent.innerHTML =
- "<div id='div_g' style='width:600px; height:300px;'></div>"
+
- "<p>When you zoom and pan, the region remains highlighted.</p>";
+ parent.innerHTML =
[
+ "<div id='div_g' style='width:600px; height:300px;'></div>"
,
+ "<p>When you zoom and pan, the region remains highlighted.</p>"
].join("\n")
;
},
run: function() {
// A basic sinusoidal data series.
},
run: function() {
// A basic sinusoidal data series.