We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34e4cec commit e1840cfCopy full SHA for e1840cf
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "vueplotlib",
3
- "version": "1.11.3",
+ "version": "1.11.4",
4
"private": false,
5
"scripts": {
6
"serve": "vue-cli-service serve --open ./examples-src/index.js",
src/two.js
@@ -10,6 +10,11 @@ class TwoRectangle {
10
this.width = width;
11
this.height = height;
12
13
+ if(this.height < 0) {
14
+ // To fix bug with bar plots that have bars representing negative values.
15
+ this.height = this.height * -1;
16
+ }
17
+
18
this.stroke = "#000";
19
this.fill = "#000";
20
this.linewidth = 1;
0 commit comments