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
e390844a
Commit
e390844a
authored
Apr 30, 2019
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Cosmectics] bug histo chart: label of x axis.
parent
c0c52b90
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
654 deletions
+49
-654
Charts.hs
src/Gargantext/Components/Charts/Charts.hs
+0
-596
Charts.js
src/Gargantext/Components/Charts/Charts.js
+0
-6
ECharts.purs
src/Gargantext/Components/Charts/Options/ECharts.purs
+48
-51
Histo.purs
src/Gargantext/Pages/Corpus/Chart/Histo.purs
+1
-1
No files found.
src/Gargantext/Components/Charts/Charts.hs
deleted
100644 → 0
View file @
c0c52b90
This diff is collapsed.
Click to expand it.
src/Gargantext/Components/Charts/Charts.js
deleted
100644 → 0
View file @
c0c52b90
"use strict"
;
var
ReactEcharts
=
require
(
"echarts-for-react"
);
exports
.
eChartsClass
=
ReactEcharts
.
default
;
exports
.
eChartsClass2
=
ReactEcharts
.
default
;
src/Gargantext/Components/Charts/Options/ECharts.purs
View file @
e390844a
...
...
@@ -213,63 +213,60 @@ seriesPie = seriesPieD1
textStyle2 :: TextStyle
textStyle2 =
{
color: black
,fontStyle: chartFontStyle italic
,fontWeight: chartFontWeight normal
,fontFamily: "sans-serif"
,fontSize: 11
,align: relativePosition $ Relative RightPos
,verticalAlign: relativePosition $ Relative Bottom
,lineHeight: percentPosition 0.0
,width: percentPosition 100.0
,height: percentPosition 100.0
,textBorderColor: black
,textBorderWidth: 0.0
,textShadowColor: black
,textShadowBlur: black
,textShadowOffsetX: 0.0
,textShadowOffsetY: 0.0
{ color: black
, fontStyle: chartFontStyle italic
, fontWeight: chartFontWeight normal
, fontFamily: "sans-serif"
, fontSize: 11
, align: relativePosition $ Relative RightPos
, verticalAlign: relativePosition $ Relative Bottom
, lineHeight: percentPosition 0.0
, width: percentPosition 100.0
, height: percentPosition 100.0
, textBorderColor: black
, textBorderWidth: 0.0
, textShadowColor: black
, textShadowBlur: black
, textShadowOffsetX: 0.0
, textShadowOffsetY: 0.0
}
textStyle' :: TextStyle
textStyle' =
{
color: black
,fontStyle: chartFontStyle normal
,fontWeight: chartFontWeight normal
,fontFamily: "sans-serif"
,fontSize: 15
,align: relativePosition $ Relative LeftPos
,verticalAlign: relativePosition $ Relative Top
,lineHeight: percentPosition 0.0
,width: percentPosition 100.0
,height: percentPosition 100.0
,textBorderColor: black
,textBorderWidth: 1.0
,textShadowColor: black
,textShadowBlur: black
,textShadowOffsetX: 0.0
,textShadowOffsetY: 0.0
{ color: black
, fontStyle: chartFontStyle normal
, fontWeight: chartFontWeight normal
, fontFamily: "sans-serif"
, fontSize: 15
, align: relativePosition $ Relative LeftPos
, verticalAlign: relativePosition $ Relative Top
, lineHeight: percentPosition 0.0
, width: percentPosition 100.0
, height: percentPosition 100.0
, textBorderColor: black
, textBorderWidth: 1.0
, textShadowColor: black
, textShadowBlur: black
, textShadowOffsetX: 0.0
, textShadowOffsetY: 0.0
}
textStyle :: TextStyle
textStyle =
{
color: black
,fontStyle: chartFontStyle normal
,fontWeight: chartFontWeight normal
,fontFamily: "sans-serif"
,fontSize: 15
,align: relativePosition $ Relative LeftPos
,verticalAlign: relativePosition $ Relative Top
,lineHeight: percentPosition 0.0
,width: percentPosition 100.0
,height: percentPosition 100.0
,textBorderColor: black
,textBorderWidth: 0.0
,textShadowColor: black
,textShadowBlur: black
,textShadowOffsetX: 0.0
,textShadowOffsetY: 0.0
{ color: black
, fontStyle: chartFontStyle normal
, fontWeight: chartFontWeight normal
, fontFamily: "sans-serif"
, fontSize: 15
, align: relativePosition $ Relative LeftPos
, verticalAlign: relativePosition $ Relative Top
, lineHeight: percentPosition 0.0
, width: percentPosition 100.0
, height: percentPosition 100.0
, textBorderColor: black
, textBorderWidth: 1.0
, textShadowColor: black
, textShadowBlur: black
, textShadowOffsetX: 0.0
, textShadowOffsetY: 0.0
}
src/Gargantext/Pages/Corpus/Chart/Histo.purs
View file @
e390844a
...
...
@@ -63,7 +63,7 @@ chartOptions (HistoMetrics { dates: dates', count: count'}) = Options
, subTitle : "Distribution of publications over time"
, xAxis : xAxis' dates'
, yAxis : yAxis' { position: "left", show: true, min:0}
, series : [seriesBarD1 {name: "Number of publication / year"} $ map (\n -> dataSerie {
name: "",
value: n, itemStyle : itemStyle {color:grey}}) count']
, series : [seriesBarD1 {name: "Number of publication / year"} $ map (\n -> dataSerie {value: n, itemStyle : itemStyle {color:grey}}) count']
, addZoom : true
, tooltip : mkTooltip { formatter: templateFormatter "{b0}" }
}
...
...
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