File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/main/scala/demo/components Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ scalacOptions ++= Seq(
18
18
libraryDependencies ++= Seq (
19
19
" org.scala-js" %%% " scalajs-dom" % " 0.8.0" ,
20
20
" com.github.japgolly.scalajs-react" %%% " core" % " 0.8.1" ,
21
- " eu.unicredit" %%% " paths-scala-js" % " 0.4.4 "
21
+ " eu.unicredit" %%% " paths-scala-js" % " 0.4.5 "
22
22
)
23
23
24
24
jsDependencies ++= Seq (
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ object bar {
21
21
accessor = identity,
22
22
width = 380 ,
23
23
height = 300 ,
24
- gutter = 10
24
+ gutter = 10 ,
25
+ offset = (80 , 50 )
25
26
)
26
27
val groups = stats.values.length
27
28
val middle = groups / 2
@@ -36,7 +37,7 @@ object bar {
36
37
}
37
38
38
39
svg(width := 460 , height := 400 ,
39
- g(transform := " translate(80,50) " , rectangles)
40
+ rectangles
40
41
)
41
42
})
42
43
.build
You can’t perform that action at this time.
0 commit comments