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
f027bd5e
Commit
f027bd5e
authored
Apr 20, 2023
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] update chart
parent
b932bb3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Histo.purs
src/Gargantext/Components/Nodes/Corpus/Chart/Histo.purs
+5
-5
No files found.
src/Gargantext/Components/Nodes/Corpus/Chart/Histo.purs
View file @
f027bd5e
...
@@ -12,6 +12,7 @@ import Gargantext.Components.Charts.Options.Font (itemStyle, mkTooltip, template
...
@@ -12,6 +12,7 @@ import Gargantext.Components.Charts.Options.Font (itemStyle, mkTooltip, template
import Gargantext.Components.Charts.Options.Series (seriesBarD1)
import Gargantext.Components.Charts.Options.Series (seriesBarD1)
import Gargantext.Components.Nodes.Corpus.Chart.Common (metricsWithCacheLoadView)
import Gargantext.Components.Nodes.Corpus.Chart.Common (metricsWithCacheLoadView)
import Gargantext.Components.Nodes.Corpus.Chart.Types (MetricsProps, Path, Props, ReloadPath)
import Gargantext.Components.Nodes.Corpus.Chart.Types (MetricsProps, Path, Props, ReloadPath)
import Gargantext.Components.Nodes.Corpus.Chart.Utils as U
import Gargantext.Config.REST (AffRESTError)
import Gargantext.Config.REST (AffRESTError)
import Gargantext.Hooks.Loader (HashedResponse(..))
import Gargantext.Hooks.Loader (HashedResponse(..))
import Gargantext.Prelude (class Eq, bind, map, pure, ($), (==))
import Gargantext.Prelude (class Eq, bind, map, pure, ($), (==))
...
@@ -113,9 +114,8 @@ histoCpt = here.component "histo" cpt
...
@@ -113,9 +114,8 @@ histoCpt = here.component "histo" cpt
loaded :: Record MetricsProps -> HistoMetrics -> R.Element
loaded :: Record MetricsProps -> HistoMetrics -> R.Element
loaded p l =
loaded p l =
H.div {} [
H.div {} [ U.reloadButton p.reload
{- U.reloadButton reload
, U.chartUpdateButton { chartType: Histo, path:p.path, reload:p.reload, session:p.session }
, U.chartUpdateButton { chartType: Histo, path, reload, session }
, chart $ chartOptions p l
, -} chart $ chartOptions p l
]
]
-- TODO: parametrize ngramsType above
-- TODO: parametrize ngramsType above
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