Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
b8c46253
Commit
b8c46253
authored
Nov 23, 2014
by
Mathieu Rodic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TEST] tried the "highcharts" library
parent
147d96f6
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
197 deletions
+81
-197
api.py
gargantext_web/api.py
+1
-1
graph-it.js
static/js/graph-it.js
+76
-192
graph-it.html
templates/graph-it.html
+4
-4
No files found.
gargantext_web/api.py
View file @
b8c46253
...
...
@@ -247,7 +247,7 @@ class CorpusController:
suffix
=
key
.
split
(
'_'
)[
-
1
]
dimensions
.
append
({
'key'
:
key
,
'type'
:
'date'
if
suffix
==
'date'
else
'numeric'
'type'
:
'date
time
'
if
suffix
==
'date'
else
'numeric'
})
return
JsonHttpResponse
({
"collection"
:
[
...
...
static/js/graph-it.js
View file @
b8c46253
This diff is collapsed.
Click to expand it.
templates/graph-it.html
View file @
b8c46253
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment