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.
Other
50
stars
20
forks
source link
Remove inline styling for data point labels and popups #23
This moves most of the styling for data point labels and popups into CSS classes; see #21 for discussion.
I'm sorry about the lack of tests; unfortunately the code already in the gem is currently written in such a way that it's hard to test. I can refactor it for better testability, if that's of interest, but it will take some time (and I'd probably want to switch the tests to RSpec, or at least Minitest::Spec, in the process).
This moves most of the styling for data point labels and popups into CSS classes; see #21 for discussion.
I'm sorry about the lack of tests; unfortunately the code already in the gem is currently written in such a way that it's hard to test. I can refactor it for better testability, if that's of interest, but it will take some time (and I'd probably want to switch the tests to RSpec, or at least Minitest::Spec, in the process).