Image Charts changelog
Image Charts changelog

Official 💎 Ruby library

Any rubyist 💎 out-there? The official Image-Charts Ruby library is there!

gem install image-charts
require 'image-charts'

const pie = ImageCharts().cht('p').chd('a:2.5,5,8.3').chs('100x100');

pie.to_url // ""
pie.to_file('/path/to/chart.png') // nil
pie.to_data_uri // "data:image/png;base64,iVBORw0KGgo..."
pie.to_blob // binary string

Generating charts in Ruby in order to embed them inside emails or reports has never been easier!