topfunky / gruff

Gruff graphing library for Ruby

Home Page:http://gruff.rubyforge.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I get a graph with equal distances in both axis?

inyerade opened this issue · comments

I need to graph with

maximum_value = value
minimum_value = -value
maximum_x_value = value
minimum_x_value = -value

and I need to see like a square but I only can get a rectangle like the image

image

We do not support such graphs for now.

It may be possible to adjust the vertical and horizontal size of the canvas, like:

g = Gruff::Line.new("800x800")