SVG:::Graph is a pure Ruby library for generating charts, which are a type of graph where the values of one axis are not scalar. SVG::Graph has a verry similar API to the Perl library SVG::TT::Graph, and the resulting charts also look the same. This isn't surprising, because SVG::Graph started as a loose port of SVG::TT::Graph, although the internal code no longer resembles the Perl original at all.
Added max_x_value and max_y_value.
Added improved handling of data in TimeSeries graphs. Data can now be:
a parseable date string
a Time object
a number of seconds since the epoch
Refactored TimeSeries#add_data to call super. This fixes TimeSeries
charts breaking when popups are enabled.
Fixed TimeSeries#format implementing an incompatible interface from
Plot#format.
Added max_x_value and max_y_value. Added improved handling of data in TimeSeries graphs. Data can now be: