pill_chart 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pill_chart/simple_pill_chart.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ec32abdf67ce0d179656aa8b07435d711e101c7
|
4
|
+
data.tar.gz: 643c133491dc0658ce6fc6706dab22d1ac22044c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf00bbe64b9091f6e57f7fc3e4a576fca9aa50f4f5498c6d45db7909f3da7ffaa88431155019dfdc50c6c339394c5d9563ab5b0ec81c25df77fad5096da22da2
|
7
|
+
data.tar.gz: d103f1caecbcc3355ab9dc8ffee22f210cbc13a6a648e08c6422fc66bc2ebe1ba78109071233455efaab8c2f077e6640032d5adf20c765f6432b0d7d8ea4ea3a
|
@@ -63,7 +63,7 @@ module PillChart
|
|
63
63
|
def drawBackgroundPath
|
64
64
|
render = []
|
65
65
|
render << "<rect"
|
66
|
-
render << "id=\"background\" x=\"0\" cy=\"0\" height=\"
|
66
|
+
render << "id=\"background\" x=\"0\" cy=\"0\" height=\"#{@height}\" width=\"#{@width}\""
|
67
67
|
render << "style=\"fill: #{@config['background']}; mask: url(#pill-base)\""
|
68
68
|
render << "/>"
|
69
69
|
@paths.push([:background], render.join(" "))
|
@@ -76,7 +76,7 @@ module PillChart
|
|
76
76
|
def drawSimpleForegroundPath
|
77
77
|
render = []
|
78
78
|
render << "<rect"
|
79
|
-
render << "id=\"foreground\" x=\"0\" cy=\"0\" height=\"
|
79
|
+
render << "id=\"foreground\" x=\"0\" cy=\"0\" height=\"#{@height}\" width=\"#{@valueWidth}\""
|
80
80
|
render << "style=\"fill: #{@config['foreground']}; mask: url(#pill-base)\""
|
81
81
|
render << "/>"
|
82
82
|
@paths.push([:foreground], render.join(" "))
|
@@ -94,7 +94,7 @@ module PillChart
|
|
94
94
|
end
|
95
95
|
render = []
|
96
96
|
render << "<rect"
|
97
|
-
render << "id=\"foreground\" x=\"0\" cy=\"0\" height=\"
|
97
|
+
render << "id=\"foreground\" x=\"0\" cy=\"0\" height=\"#{@height}\" width=\"#{@valueWidth}\""
|
98
98
|
render << "style=\"fill: #{barColor}; mask: url(#pill-base)\""
|
99
99
|
render << "/>"
|
100
100
|
@paths.push([:foreground], render.join(" "))
|