projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix errors/warnings in tests/*.html
[dygraphs.git]
/
tests
/
value-axis-formatters.html
diff --git
a/tests/value-axis-formatters.html
b/tests/value-axis-formatters.html
index
48d0f62
..
31d61ea
100644
(file)
--- a/
tests/value-axis-formatters.html
+++ b/
tests/value-axis-formatters.html
@@
-1,16
+1,12
@@
<!DOCTYPE html>
<html>
<head>
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
<title>valueFormatter and axisLabelFormatter</title>
<title>valueFormatter and axisLabelFormatter</title>
- <!--[if IE]>
- <script type="text/javascript" src="../excanvas.js"></script>
- <![endif]-->
<!--
For production (minified) code, use:
<script type="text/javascript" src="dygraph-combined.js"></script>
-->
<!--
For production (minified) code, use:
<script type="text/javascript" src="dygraph-combined.js"></script>
-->
- <script type="text/javascript" src="../d
ygraph-dev
.js"></script>
+ <script type="text/javascript" src="../d
ist/dygraph
.js"></script>
</head>
<body style="max-width: 800px;">
</head>
<body style="max-width: 800px;">
@@
-61,8
+57,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) {
@@
-72,6
+66,7
@@
return 'xalf(' + formatDate(d) + ')';
},
pixelsPerLabel: 100,
return 'xalf(' + formatDate(d) + ')';
},
pixelsPerLabel: 100,
+ axisLabelWidth: 100,
},
y: {
valueFormatter: function(y) {
},
y: {
valueFormatter: function(y) {
@@
-79,7
+74,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) {