Commit 52ae592f authored by Alexandre Delanoë's avatar Alexandre Delanoë

[TEXT] Titles of charts fix.

parent f0b1b4f7
...@@ -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?
} }
......
...@@ -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
......
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