Commit 281327fe authored by Alexandre Delanoë's avatar Alexandre Delanoë

[COSMETICS] reading code.

parent 29eb4675
...@@ -51,9 +51,9 @@ type EchartsProps eff = ...@@ -51,9 +51,9 @@ type EchartsProps eff =
option :: Option, -- PropTypes.object.isRequired, option :: Option, -- PropTypes.object.isRequired,
initOpts :: String, -- PropTypes.object, initOpts :: String, -- PropTypes.object,
notMerge :: Boolean, notMerge :: Boolean,
lazyUpdate:: Boolean, lazyUpdate :: Boolean,
loading :: Boolean, loading :: Boolean,
optsLoading:: OptsLoading, -- PropTypes.object, optsLoading :: OptsLoading, -- PropTypes.object,
onReady :: String, -- PropTypes.func, onReady :: String, -- PropTypes.func,
resizable :: Boolean, -- PropTypes.bool, resizable :: Boolean, -- PropTypes.bool,
onEvents :: String -- PropTypes.object onEvents :: String -- PropTypes.object
...@@ -63,7 +63,7 @@ type OptsLoading = ...@@ -63,7 +63,7 @@ type OptsLoading =
{ text :: String, { text :: String,
color :: Color, --- color color :: Color, --- color
textColor :: Color, --color textColor :: Color, --color
maskColor:: Color, --color maskColor :: Color, --color
zlevel :: Int zlevel :: Int
} }
...@@ -80,11 +80,11 @@ type Option = ...@@ -80,11 +80,11 @@ type Option =
type DataZoom = type DataZoom =
{"type":: String {"type" :: String
, xAxisIndex:: Int , xAxisIndex :: Int
, filterMode:: String , filterMode :: String
, start:: Int , start :: Int
, end:: Int , end :: Int
} }
type Grid = type Grid =
...@@ -116,7 +116,7 @@ type Legend = ...@@ -116,7 +116,7 @@ type Legend =
} }
type Data = type Data =
{name :: String { name :: String
, icon :: String , icon :: String
, textStyle :: {} , textStyle :: {}
} }
...@@ -173,7 +173,7 @@ type AxisLabel = ...@@ -173,7 +173,7 @@ type AxisLabel =
type Series = type Series =
{name :: String { name :: String
, "type" :: String , "type" :: String
, "data" :: Array Int , "data" :: Array Int
} }
...@@ -439,7 +439,6 @@ sd1 = unsafeFromPropsArray ...@@ -439,7 +439,6 @@ sd1 = unsafeFromPropsArray
, data' [95, 80, 75, 35, 30, 50, 70, 80, 95, 95, 95, 99] , data' [95, 80, 75, 35, 30, 50, 70, 80, 95, 95, 95, 99]
] ]
sd3 = unsafeFromPropsArray sd3 = unsafeFromPropsArray
[ name "All" [ name "All"
, type' "bar" , type' "bar"
......
...@@ -80,7 +80,7 @@ jumboTitle b = div jumbo ...@@ -80,7 +80,7 @@ jumboTitle b = div jumbo
] ]
where where
jumbo = case b of jumbo = case b of
true -> [className "jumbotron" ] true -> [className "jumbotron"]
false -> [] false -> []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment