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
e8342824
Unverified
Commit
e8342824
authored
Mar 19, 2019
by
Nicolas Pouillard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CHARTS] rename DataN into DataLegend
parent
d752ee6f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
Data.purs
src/Gargantext/Components/Charts/Options/Data.purs
+1
-1
ECharts.purs
src/Gargantext/Components/Charts/Options/ECharts.purs
+4
-4
Type.purs
src/Gargantext/Components/Charts/Options/Type.purs
+2
-2
No files found.
src/Gargantext/Components/Charts/Options/Data.purs
View file @
e8342824
...
@@ -2,7 +2,7 @@ module Gargantext.Components.Charts.Options.Data where
...
@@ -2,7 +2,7 @@ module Gargantext.Components.Charts.Options.Data where
import Gargantext.Components.Charts.Options.Font (TextStyle, Icon)
import Gargantext.Components.Charts.Options.Font (TextStyle, Icon)
type Data
N
=
type Data
Legend
=
{ name :: String
{ name :: String
, icon :: Icon
, icon :: Icon
, textStyle :: TextStyle
, textStyle :: TextStyle
...
...
src/Gargantext/Components/Charts/Options/ECharts.purs
View file @
e8342824
...
@@ -7,7 +7,7 @@ import CSS.Common (normal)
...
@@ -7,7 +7,7 @@ import CSS.Common (normal)
import Data.Array (length)
import Data.Array (length)
import Data.Maybe (Maybe(..))
import Data.Maybe (Maybe(..))
import Gargantext.Components.Charts.Options.Color (transparent, violet, black)
import Gargantext.Components.Charts.Options.Color (transparent, violet, black)
import Gargantext.Components.Charts.Options.Data (Data
N
, DataS, DataAxis)
import Gargantext.Components.Charts.Options.Data (Data
Legend
, DataS, DataAxis)
import Gargantext.Components.Charts.Options.Font (IconOptions(..), Shape(..), TextStyle, chartFontStyle, chartFontWeight, icon)
import Gargantext.Components.Charts.Options.Font (IconOptions(..), Shape(..), TextStyle, chartFontStyle, chartFontWeight, icon)
import Gargantext.Components.Charts.Options.Legend (legendType, LegendMode(..), PlainOrScroll(..), selectedMode, Orientation(..), orient)
import Gargantext.Components.Charts.Options.Legend (legendType, LegendMode(..), PlainOrScroll(..), selectedMode, Orientation(..), orient)
import Gargantext.Components.Charts.Options.Position (Align(..), LeftRelativePosition(..), TopRelativePosition(..), numberPosition, percentPosition, relativePosition)
import Gargantext.Components.Charts.Options.Position (Align(..), LeftRelativePosition(..), TopRelativePosition(..), numberPosition, percentPosition, relativePosition)
...
@@ -106,13 +106,13 @@ legend =
...
@@ -106,13 +106,13 @@ legend =
, "data": [data1]
, "data": [data1]
}
}
data1 :: Data
N
data1 :: Data
Legend
data1 = {name: "Map terms coverage", icon: icon $ Shape Circle, textStyle: textStyle'}
data1 = {name: "Map terms coverage", icon: icon $ Shape Circle, textStyle: textStyle'}
data2 :: Data
N
data2 :: Data
Legend
data2 = {name: "Favorites", icon: icon $ Shape Circle, textStyle: textStyle'}
data2 = {name: "Favorites", icon: icon $ Shape Circle, textStyle: textStyle'}
data3 :: Data
N
data3 :: Data
Legend
data3 = {name: "Test", icon: icon $ Shape Diamond, textStyle: textStyle'}
data3 = {name: "Test", icon: icon $ Shape Diamond, textStyle: textStyle'}
...
...
src/Gargantext/Components/Charts/Options/Type.purs
View file @
e8342824
...
@@ -4,7 +4,7 @@ import Prelude
...
@@ -4,7 +4,7 @@ import Prelude
import Data.Maybe (Maybe)
import Data.Maybe (Maybe)
import Gargantext.Components.Charts.Options.Color (Color)
import Gargantext.Components.Charts.Options.Color (Color)
import Gargantext.Components.Charts.Options.Data (Data
N
, DataAxis)
import Gargantext.Components.Charts.Options.Data (Data
Legend
, DataAxis)
import Gargantext.Components.Charts.Options.Font (TextStyle)
import Gargantext.Components.Charts.Options.Font (TextStyle)
import Gargantext.Components.Charts.Options.Legend (LegendType, Orient, SelectedMode)
import Gargantext.Components.Charts.Options.Legend (LegendType, Orient, SelectedMode)
import Gargantext.Components.Charts.Options.Position (LeftRelativePosition, Position, TopRelativePosition)
import Gargantext.Components.Charts.Options.Position (LeftRelativePosition, Position, TopRelativePosition)
...
@@ -117,7 +117,7 @@ type Legend =
...
@@ -117,7 +117,7 @@ type Legend =
, inactiveColor :: Color
, inactiveColor :: Color
, selected :: Maybe String -- object
, selected :: Maybe String -- object
, textStyle :: TextStyle
, textStyle :: TextStyle
, "data" :: Array Data
N
, "data" :: Array Data
Legend
}
}
type Tooltip =
type 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