Skip to content

Commit 54bf789

Browse files
widthUnit/heightUnit parameters (#271)
1 parent e82115d commit 54bf789

File tree

14 files changed

+2464
-36
lines changed

14 files changed

+2464
-36
lines changed

demo/jvm-javafx/src/main/kotlin/frontendContextDemo/scripts/ErrorBar.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ object ErrorBar {
114114
geomErrorBar(
115115
position = positionDodgeV(height = 0.9),
116116
color = "black",
117-
height = 0.1
117+
width = 0.1
118118
) {
119119
xmin = "min"; xmax = "max"; group = "supp"
120120
}
@@ -128,7 +128,7 @@ object ErrorBar {
128128
xmin = "min"
129129
xmax = "max"
130130
color = "supp"
131-
} + geomErrorBar(position = positionDodgeV(height = 0.3), height = 0.2) + ggtitle("Horizontal errorbar")
131+
} + geomErrorBar(position = positionDodgeV(height = 0.3), width = 0.2) + ggtitle("Horizontal errorbar")
132132
p.show()
133133
}
134134

@@ -138,7 +138,7 @@ object ErrorBar {
138138
xmin = "min"
139139
xmax = "max"
140140
color = "supp"
141-
} + geomErrorBar(position = positionDodgeV(height = 0.3), height = 0.2) +
141+
} + geomErrorBar(position = positionDodgeV(height = 0.3), width = 0.2) +
142142
coordFlip() +
143143
ggtitle("Horizontal errorbar + coordFlip()")
144144
p.show()

0 commit comments

Comments
 (0)