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
481a3225
Commit
481a3225
authored
Apr 26, 2018
by
Mael NICOLAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trying to understand why it doesnt display ce charts
parent
1436ec99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
Chart.purs
src/Chart.purs
+2
-7
Dashboard.purs
src/Dashboard.purs
+1
-1
No files found.
src/Chart.purs
View file @
481a3225
module Chart
module Chart where
(
histogram2,
histogram
)
where
import Prelude
import Prelude
...
@@ -215,7 +210,7 @@ echarts :: forall eff. Array Props -> R.ReactElement
...
@@ -215,7 +210,7 @@ echarts :: forall eff. Array Props -> R.ReactElement
echarts p = R.createElementDynamic eChartsClass (unsafeFromPropsArray p) []
echarts p = R.createElementDynamic eChartsClass (unsafeFromPropsArray p) []
echarts' :: forall eff. Option -> R.ReactElement
echarts' :: forall eff. Option -> R.ReactElement
echarts'
opt = R.createElementDynamic eChartsClass2 op
t []
echarts'
chart = R.createElementDynamic eChartsClass2 char
t []
-- Props
-- Props
...
...
src/Dashboard.purs
View file @
481a3225
...
@@ -18,7 +18,7 @@ performAction :: forall eff props. PerformAction (dom :: DOM | eff) State props
...
@@ -18,7 +18,7 @@ performAction :: forall eff props. PerformAction (dom :: DOM | eff) State props
performAction _ _ _ = pure unit
performAction _ _ _ = pure unit
render :: forall props. Render State props Action
render :: forall props. Render State props Action
render dispatch _ state _ = [text "Dashboard", histogram
2
]
render dispatch _ state _ = [text "Dashboard", histogram]
layoutDashboard :: forall props eff. Spec (dom :: DOM | eff) State props Action
layoutDashboard :: forall props eff. Spec (dom :: DOM | eff) State props Action
layoutDashboard = simpleSpec performAction render
layoutDashboard = simpleSpec performAction render
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