Commit 15801a80 authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[Dashboard] comment remaining charts which are unused for now

parent bd6ef8a3
...@@ -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 =
......
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