projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
revert change to demo.html from 1.1.1
[dygraphs.git]
/
tests
/
value-axis-formatters.html
diff --git
a/tests/value-axis-formatters.html
b/tests/value-axis-formatters.html
index
c7b8a16
..
f69c99d
100644
(file)
--- a/
tests/value-axis-formatters.html
+++ b/
tests/value-axis-formatters.html
@@
-1,11
+1,8
@@
<!DOCTYPE html>
<html>
<head>
<!DOCTYPE html>
<html>
<head>
+ <link rel="stylesheet" href="../dist/dygraph.css">
<title>valueFormatter and axisLabelFormatter</title>
<title>valueFormatter and axisLabelFormatter</title>
- <!--
- For production (minified) code, use:
- <script type="text/javascript" src="dygraph-combined.js"></script>
- -->
<script type="text/javascript" src="../dist/dygraph.js"></script>
</head>
<script type="text/javascript" src="../dist/dygraph.js"></script>
</head>
@@
-57,8
+54,6
@@
'Y3': { axis: 'y2' },
'Y4': { axis: 'y2' }
},
'Y3': { axis: 'y2' },
'Y4': { axis: 'y2' }
},
- xAxisLabelWidth: 100,
- yAxisLabelWidth: 100,
axes: {
x: {
valueFormatter: function(ms) {
axes: {
x: {
valueFormatter: function(ms) {
@@
-68,6
+63,7
@@
return 'xalf(' + formatDate(d) + ')';
},
pixelsPerLabel: 100,
return 'xalf(' + formatDate(d) + ')';
},
pixelsPerLabel: 100,
+ axisLabelWidth: 100,
},
y: {
valueFormatter: function(y) {
},
y: {
valueFormatter: function(y) {
@@
-75,7
+71,8
@@
},
axisLabelFormatter: function(y) {
return 'yalf(' + y.toPrecision(2) + ')';
},
axisLabelFormatter: function(y) {
return 'yalf(' + y.toPrecision(2) + ')';
- }
+ },
+ axisLabelWidth: 100
},
y2: {
valueFormatter: function(y2) {
},
y2: {
valueFormatter: function(y2) {