lumean / svg-graph2

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

Color data #20

Open noraj opened 4 years ago

noraj commented 4 years ago

I searched in the code and saw no way to choose color without providing a CSS stylesheet.

lumean commented 4 years ago

yes, this is how it currently works. Please feel free to submit a PR or add your suggestions here if you have improvement ideas. My time for this project is currently quite limited, so please don't expect too much from my side. I will mark this as a feature request