aboutsummaryrefslogtreecommitdiffstats
path: root/room-schedule.rb
diff options
context:
space:
mode:
Diffstat (limited to 'room-schedule.rb')
-rw-r--r--room-schedule.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/room-schedule.rb b/room-schedule.rb
index 9268c73..910a742 100644
--- a/room-schedule.rb
+++ b/room-schedule.rb
@@ -80,6 +80,11 @@ module SVG
"height" => subbar_height.to_s,
"class" => "fill#{field_count+1}"
})
+ t = @graph.add_element("text", {
+ "x" => (bar_start + @font_size / 2).to_s,
+ "y" => (y + 2 * @font_size).to_s,
+ })
+ t.add_text(entry.title)
end
field_count += 1
end