[ruby]gruffでX軸メモリ名を縦書きにする

しかし、通常では何故かアクセスできない上に肝心のX軸メモリ名(←これってなんて言うんだっけ)の部分では対応するコードが入っていない。
というわけで、ソースを少し弄れば縦書き対応にできる。 ■編集例
gruff@base.rb
Line:181付近
# 20070912 add by junmt
@rotation = nil
def rotate_x_label(rotate)
@rotation = rotate
end
# end
Line:735付近
# 20070912 add by junmt
if @rotation != nil then
@d.rotation = @rotation
end
# end
Line:754付近
# 20070912 add by junmt
if @rotation != nil then
@d.rotation = -90
end
# end
■呼び出し例
g = Gruff::Line.new(GRAPH_SIZE,false)
g.rotate_x_label(90)