lilygraph 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/lilygraph.rb +1 -1
- data/lilygraph.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.1
|
data/lib/lilygraph.rb
CHANGED
|
@@ -225,7 +225,7 @@ class Lilygraph
|
|
|
225
225
|
@legend.sort.each_with_index do |data, index|
|
|
226
226
|
color, label = data
|
|
227
227
|
xml.rect :fill => color, :stroke => color, 'stroke-width' => 0, :x => legend_x + 10, :y => legend_y + 10 + (index * 15), :width => 35, :height => 10
|
|
228
|
-
xml.text label, :x => legend_x +
|
|
228
|
+
xml.text label, :x => legend_x + 55, :y => legend_y + 18 + (index * 15), 'text-anchor' => 'left'
|
|
229
229
|
end
|
|
230
230
|
end
|
|
231
231
|
|
data/lilygraph.gemspec
CHANGED