Commit b8c46253 authored by Mathieu Rodic's avatar Mathieu Rodic

[TEST] tried the "highcharts" library

parent 147d96f6
......@@ -247,7 +247,7 @@ class CorpusController:
suffix = key.split('_')[-1]
dimensions.append({
'key': key,
'type': 'date' if suffix == 'date' else 'numeric'
'type': 'datetime' if suffix == 'date' else 'numeric'
})
return JsonHttpResponse({
"collection": [
......
This diff is collapsed.
......@@ -18,11 +18,11 @@
</div>
</div>
<div class="container graph-it"></div>
<script type="text/javascript" src="{% static "js/jquery/jquery.min.js" %}"></script>
<script type="text/javascript" src="http://dc-js.github.io/dc.js/js/d3.js"></script>
<script type="text/javascript" src="http://dc-js.github.io/dc.js/js/crossfilter.js"></script>
<script type="text/javascript" src="http://dc-js.github.io/dc.js/js/dc.js"></script>
<script type="text/javascript" src="http://dc-js.github.io/dc.js/js/colorbrewer.js"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<script type="text/javascript" src="{% static "js/graph-it.js" %}"></script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment