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
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
gargantext
purescript-gargantext
Commits
0e975a01
Commit
0e975a01
authored
May 14, 2019
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Charts][ToolBox] Adding Brush options (commented for now).
parent
fe0cdfad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Font.purs
src/Gargantext/Components/Charts/Options/Font.purs
+5
-1
No files found.
src/Gargantext/Components/Charts/Options/Font.purs
View file @
0e975a01
...
...
@@ -24,6 +24,7 @@ module Gargantext.Components.Charts.Options.Font
, MagicType
, Save
, Restore
, Brush
) where
import Prelude (Unit, ($), (<<<), (<>))
...
...
@@ -121,8 +122,9 @@ type TooltipOptional =
mkToolBox :: ToolBox
mkToolBox = { feature: { dataView : { show: true, readOnly : false, title : "Data"}
, saveAsImage : { show : true, pixelRatio : 10, title : "Image"}
--
, magicType : { show : true, "type" : ["line", "bar", "pie", "stack", "tiled"], title : "Type"}
--, magicType : { show : true, "type" : ["line", "bar", "pie", "stack", "tiled"], title : "Type"}
--, restore : {show : true, title : "Restore"}
--, brush : {"type" : ["rect", "polygon", "lineX", "lineY", "keep", "clear"]}
}
, orient : "vertical"
}
...
...
@@ -135,6 +137,7 @@ type Feature = { dataView :: DataView
, saveAsImage :: Save
--, magicType :: MagicType
--, restore :: Restore
--, brush :: Brush
}
---------------------------------------
...
...
@@ -157,6 +160,7 @@ type DataView = { show :: Boolean
, title :: String
}
type Brush = { "type" :: Array String }
---------------------------------------
mkTooltip :: forall o. Optional o TooltipOptional => Record o -> Tooltip
...
...
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