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
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
gargantext
purescript-gargantext
Commits
15801a80
Commit
15801a80
authored
Jan 31, 2020
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Dashboard] comment remaining charts which are unused for now
parent
bd6ef8a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
43 deletions
+43
-43
Dashboard.purs
src/Gargantext/Components/Nodes/Corpus/Dashboard.purs
+43
-43
No files found.
src/Gargantext/Components/Nodes/Corpus/Dashboard.purs
View file @
15801a80
...
@@ -63,15 +63,15 @@ dashboardLayoutLoadedCpt = R.hooksComponent "G.P.C.D.dashboardLayoutLoaded" cpt
...
@@ -63,15 +63,15 @@ dashboardLayoutLoadedCpt = R.hooksComponent "G.P.C.D.dashboardLayoutLoaded" cpt
H.h1 {} [ H.text "DashBoard" ]
H.h1 {} [ H.text "DashBoard" ]
, H.div {className: "row"} [
, H.div {className: "row"} [
--H.div {className: "col-md-9 content"} [ chart globalPublis ]
--H.div {className: "col-md-9 content"} [ chart globalPublis ]
H.div {className: "col-md-
9
content"} [ histo (globalPublisParams props) ]
H.div {className: "col-md-
12
content"} [ histo (globalPublisParams props) ]
, H.div {className: "col-md-3 content"} [ chart naturePublis ]
--
, H.div {className: "col-md-3 content"} [ chart naturePublis ]
]
]
--, chart distriBySchool
--, chart distriBySchool
, pie (authorsParams props)
, pie (authorsParams props)
, H.div {className: "row"} (aSchool <$> schools)
--
, H.div {className: "row"} (aSchool <$> schools)
--, chart scatterEx
--, chart scatterEx
, metrics (termsParams props)
, metrics (termsParams props)
, chart sankeyEx
--
, chart sankeyEx
, tree (institutesParams props)
, tree (institutesParams props)
--, chart treeMapEx
--, chart treeMapEx
--, chart treeEx
--, chart treeEx
...
@@ -118,25 +118,25 @@ dashboardLayoutLoadedCpt = R.hooksComponent "G.P.C.D.dashboardLayoutLoaded" cpt
...
@@ -118,25 +118,25 @@ dashboardLayoutLoadedCpt = R.hooksComponent "G.P.C.D.dashboardLayoutLoaded" cpt
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
naturePublis_x :: Array String
--
naturePublis_x :: Array String
naturePublis_x = ["Com","Articles","Thèses","Reports"]
--
naturePublis_x = ["Com","Articles","Thèses","Reports"]
naturePublis_y' :: Array Int
--
naturePublis_y' :: Array Int
naturePublis_y' = [23901,17417,1188,1176]
--
naturePublis_y' = [23901,17417,1188,1176]
naturePublis_y :: Array DataD1
--
naturePublis_y :: Array DataD1
naturePublis_y = zipWith (\n v -> dataSerie {name: n, value: toNumber v }) naturePublis_x naturePublis_y'
--
naturePublis_y = zipWith (\n v -> dataSerie {name: n, value: toNumber v }) naturePublis_x naturePublis_y'
naturePublis :: Options
--
naturePublis :: Options
naturePublis = Options
--
naturePublis = Options
{ mainTitle : "Nature of publications"
--
{ mainTitle : "Nature of publications"
, subTitle : "Distribution by type"
--
, subTitle : "Distribution by type"
, xAxis : xAxis' []
--
, xAxis : xAxis' []
, yAxis : yAxis' { position: "left", show: false, min:0}
--
, yAxis : yAxis' { position: "left", show: false, min:0}
, series : [seriesFunnelD1 { name: "Funnel Data" } naturePublis_y]
--
, series : [seriesFunnelD1 { name: "Funnel Data" } naturePublis_y]
, addZoom : false
--
, addZoom : false
, tooltip : tooltipTriggerAxis -- Necessary?
--
, tooltip : tooltipTriggerAxis -- Necessary?
}
--
}
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
...
@@ -188,29 +188,29 @@ naturePublis = Options
...
@@ -188,29 +188,29 @@ naturePublis = Options
-- , tooltip : tooltipTriggerAxis -- Necessary?
-- , tooltip : tooltipTriggerAxis -- Necessary?
-- }
-- }
sankeyEx :: Options
--
sankeyEx :: Options
sankeyEx = Options
--
sankeyEx = Options
{ mainTitle : ""
--
{ mainTitle : ""
, subTitle : ""
--
, subTitle : ""
, xAxis : xAxis' []
--
, xAxis : xAxis' []
, yAxis : yAxis' { position: "", show: false, min:0}
--
, yAxis : yAxis' { position: "", show: false, min:0}
, series :
--
, series :
[ seriesSankey
--
[ seriesSankey
{ "data":
--
{ "data":
[ {name : "a"}, {name : "b"}
--
[ {name : "a"}, {name : "b"}
, {name:"c"}, {name:"d"} ]
--
, {name:"c"}, {name:"d"} ]
, links:
--
, links:
[ {source : "a", target : "b", value :2.0}
--
[ {source : "a", target : "b", value :2.0}
, {source : "a", target : "c", value :1.0}
--
, {source : "a", target : "c", value :1.0}
, {source : "b", target : "c", value :1.0}
--
, {source : "b", target : "c", value :1.0}
, {source : "b", target : "d", value :3.0}
--
, {source : "b", target : "d", value :3.0}
]
--
]
, layout: "none"
--
, layout: "none"
}
--
}
]
--
]
, tooltip : tooltipTriggerAxis -- Necessary?
--
, tooltip : tooltipTriggerAxis -- Necessary?
, addZoom : false
--
, addZoom : false
}
--
}
-- treeData :: Array TreeNode
-- treeData :: Array TreeNode
-- treeData =
-- treeData =
...
...
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