Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 2d70094

Browse files
committed
comments
1 parent 0dd4eaf commit 2d70094

File tree

3 files changed

+3
-32
lines changed

3 files changed

+3
-32
lines changed

example/src/Bar.purs

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ options inp = do
8787
E.inverse true
8888
E.splitArea E.hidden
8989

90-
-- E.grid do
91-
-- E.left $ ET.Pixel 100
92-
{-
90+
E.grid do
91+
E.left $ ET.Pixel 100
92+
9393
E.visualMap do
9494
E.continuous do
9595
E.dimension 1
@@ -108,7 +108,6 @@ options inp = do
108108
E.controller do
109109
E.inRange do
110110
F.for_ (C.fromHexString "#2f4554") E.color
111-
-}
112111
E.series do
113112
E.bar do
114113
E.name "bar"
@@ -155,23 +154,3 @@ chart = do
155154
EC.setOption (options inp) ch
156155
EC.getOption ch >>= DT.traceAnyA
157156
EE.listenAll ch DT.traceAnyA
158-
-- EE.dispatch (V.inj (SProxy ∷ SProxy "brush") $ toForeign evt) ch
159-
where
160-
evt =
161-
{ batch:
162-
[ { areas:
163-
[ { brushType: "rect"
164-
, brushMode: "single"
165-
, coordRange:
166-
[ [ 0
167-
, 1
168-
]
169-
, [ 0
170-
, 1
171-
]
172-
]
173-
}
174-
]
175-
}
176-
]
177-
}

example/src/Pie.purs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,3 @@ chart = do
9696
, dataIndex: 4
9797
})
9898
ch
99-
-- EE.dispatch
100-
-- (V.inj (SProxy ∷ SProxy "legendselectchanged")
101-
-- $ { name: "seven"
102-
-- , selected: SM.empty
103-
-- })
104-
-- ch

src/ECharts/Chart.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ exports.setOptionImpl = function(option) {
3838
exports.resetOptionImpl = function(option) {
3939
return function(chart) {
4040
return function() {
41-
console.log("reset option")
42-
console.log(option)
4341
chart.setOption(option, true, false);
4442
return {};
4543
};

0 commit comments

Comments
 (0)