Fix Rickshaw/D3 version mismatch.
When Rickshaw was updated to 1.5.1 in
fd43daf82e
,
the Rickshaw upstream package now contained 3 different D3 files:
d3.min.js
d3.v2.js
d3.v3.js
For details on why that is, see
https://groups.google.com/forum/#!topic/d3-js/lXQgKA7mtEw
For the 1.5.1 Rickshaw to work properly (being able to format dates with
D3 without causing a JS error), it needs d3.v2.js or d3.v3.js, not the
d3.min.js one. I chose to update us to d3.v3.js now, since that is the
most recent and minified version, and I didn't see any problems with it
(also, the current Rickshaw examples are using that D3 version).
Currently, displaying graphs with a range >14d is broken. This fixes
that.
This commit is contained in:
parent
63a79821fc
commit
b3978fe869
|
@ -4,7 +4,7 @@
|
||||||
<link type="text/css" rel="stylesheet" href="/static/vendor/rickshaw/rickshaw.min.css">
|
<link type="text/css" rel="stylesheet" href="/static/vendor/rickshaw/rickshaw.min.css">
|
||||||
<link type="text/css" rel="stylesheet" href="/static/vendor/bootstrap-3.3.1/css/bootstrap.min.css">
|
<link type="text/css" rel="stylesheet" href="/static/vendor/bootstrap-3.3.1/css/bootstrap.min.css">
|
||||||
<link type="text/css" rel="stylesheet" href="/static/css/prom_console.css">
|
<link type="text/css" rel="stylesheet" href="/static/css/prom_console.css">
|
||||||
<script src="/static/vendor/rickshaw/vendor/d3.min.js"></script>
|
<script src="/static/vendor/rickshaw/vendor/d3.v3.js"></script>
|
||||||
<script src="/static/vendor/rickshaw/vendor/d3.layout.min.js"></script>
|
<script src="/static/vendor/rickshaw/vendor/d3.layout.min.js"></script>
|
||||||
<script src="/static/vendor/rickshaw/rickshaw.min.js"></script>
|
<script src="/static/vendor/rickshaw/rickshaw.min.js"></script>
|
||||||
<script src="/static/vendor/js/jquery.min.js"></script>
|
<script src="/static/vendor/js/jquery.min.js"></script>
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -6,7 +6,7 @@
|
||||||
<link type="text/css" rel="stylesheet" href="/static/vendor/rickshaw/rickshaw.min.css">
|
<link type="text/css" rel="stylesheet" href="/static/vendor/rickshaw/rickshaw.min.css">
|
||||||
<link type="text/css" rel="stylesheet" href="/static/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
|
<link type="text/css" rel="stylesheet" href="/static/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
|
||||||
|
|
||||||
<script src="/static/vendor/rickshaw/vendor/d3.min.js"></script>
|
<script src="/static/vendor/rickshaw/vendor/d3.v3.js"></script>
|
||||||
<script src="/static/vendor/rickshaw/vendor/d3.layout.min.js"></script>
|
<script src="/static/vendor/rickshaw/vendor/d3.layout.min.js"></script>
|
||||||
<script src="/static/vendor/rickshaw/rickshaw.min.js"></script>
|
<script src="/static/vendor/rickshaw/rickshaw.min.js"></script>
|
||||||
<script src="/static/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.js"></script>
|
<script src="/static/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue