diff options
author | Igor Sfiligoi <isfiligoi@ucsd.edu> | 2011-03-22 07:30:12 -0400 |
---|---|---|
committer | Igor Sfiligoi <isfiligoi@ucsd.edu> | 2011-03-22 07:30:12 -0400 |
commit | cb2e3d2743c0f88b430f14b7a396aa1a583dc978 (patch) | |
tree | a01293736eef098deff6d1cc832dcba0731ebb3e /examples/time.html | |
parent | af26aaa53d073a7b2d25caee93e1cb5ceb2e099c (diff) |
flot-0.7
Diffstat (limited to 'examples/time.html')
-rw-r--r-- | examples/time.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/time.html b/examples/time.html index 5f43b88..da62347 100644 --- a/examples/time.html +++ b/examples/time.html @@ -3,8 +3,8 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Flot Examples</title> - <link href="layout.css" rel="stylesheet" type="text/css"></link> - <!--[if IE]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]--> + <link href="layout.css" rel="stylesheet" type="text/css"> + <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]--> <script language="javascript" type="text/javascript" src="../jquery.js"></script> <script language="javascript" type="text/javascript" src="../jquery.flot.js"></script> </head> @@ -48,8 +48,8 @@ $(function () { $.plot($("#placeholder"), [d], { xaxis: { mode: "time", - min: (new Date("1990/01/01")).getTime(), - max: (new Date("2000/01/01")).getTime() + min: (new Date(1990, 1, 1)).getTime(), + max: (new Date(2000, 1, 1)).getTime() } }); }); @@ -59,8 +59,8 @@ $(function () { xaxis: { mode: "time", minTickSize: [1, "month"], - min: (new Date("1999/01/01")).getTime(), - max: (new Date("2000/01/01")).getTime() + min: (new Date(1999, 1, 1)).getTime(), + max: (new Date(2000, 1, 1)).getTime() } }); }); |