aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--room-schedule.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/room-schedule.rb b/room-schedule.rb
index 84864cc..40e94aa 100644
--- a/room-schedule.rb
+++ b/room-schedule.rb
@@ -64,7 +64,7 @@ module SVG
field_count = 1
y_mod = (subbar_height / 2) + (font_size / 2)
min,max,div = x_range
- scale = (@graph_width + 2 * @font_size) / (max - min).to_f
+ scale = (@graph_width) / (max - min).to_f
@data.each do |room|
room[:data].each do |entry|
x_start = (entry.start_time - min).to_f