Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
purescript-gargantext
Commits
52ae592f
Commit
52ae592f
authored
Mar 21, 2019
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TEXT] Titles of charts fix.
parent
f0b1b4f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Dashboard.purs
src/Gargantext/Pages/Corpus/Dashboard.purs
+3
-3
Metrics.purs
src/Gargantext/Pages/Corpus/Metrics.purs
+1
-1
No files found.
src/Gargantext/Pages/Corpus/Dashboard.purs
View file @
52ae592f
...
@@ -79,11 +79,11 @@ globalPublis_y = [1,4,2,1,1,2,1,1,8,38,234,76,40,82,75,202,1475,1092,1827,2630,4
...
@@ -79,11 +79,11 @@ globalPublis_y = [1,4,2,1,1,2,1,1,8,38,234,76,40,82,75,202,1475,1092,1827,2630,4
globalPublis :: Options
globalPublis :: Options
globalPublis = Options
globalPublis = Options
{ mainTitle : "
Global Scientific Publications
"
{ mainTitle : "
Histogram
"
, subTitle : "Distribution of scientific publications
by IMT's Schools
over time"
, subTitle : "Distribution of scientific publications over time"
, xAxis : xAxis' (map show globalPublis_x)
, xAxis : xAxis' (map show globalPublis_x)
, yAxis : yAxis' { position: "left", show: true }
, yAxis : yAxis' { position: "left", show: true }
, series : [seriesBarD1 {name: "Number of publication
of IMT
/ year"} $ map (\n -> dataSerie {name: "", value: toNumber n }) globalPublis_y]
, series : [seriesBarD1 {name: "Number of publication / year"} $ map (\n -> dataSerie {name: "", value: toNumber n }) globalPublis_y]
, addZoom : true
, addZoom : true
, tooltip : tooltipTriggerAxis -- Necessary?
, tooltip : tooltipTriggerAxis -- Necessary?
}
}
...
...
src/Gargantext/Pages/Corpus/Metrics.purs
View file @
52ae592f
...
@@ -65,7 +65,7 @@ loadedMetricsSpec = simpleSpec defaultPerformAction render
...
@@ -65,7 +65,7 @@ loadedMetricsSpec = simpleSpec defaultPerformAction render
scatterOptions :: Array Metric -> Options
scatterOptions :: Array Metric -> Options
scatterOptions metrics = Options
scatterOptions metrics = Options
{ mainTitle : "Ngrams Selection Metrics"
{ mainTitle : "Ngrams Selection Metrics"
, subTitle : "
Inc/Exc, Spe/Gen, TFICF
"
, subTitle : "
Local metrics (Inc/Exc, Spe/Gen), Global metrics (TFICF maillage)
"
, xAxis : xAxis { min: 0 }
, xAxis : xAxis { min: 0 }
, yAxis : yAxis' { position : "", show: true }
, yAxis : yAxis' { position : "", show: true }
, series : map2series $ metric2map metrics
, series : map2series $ metric2map metrics
...
...
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