Image Charts changelog
Image Charts changelog
image-charts.com

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 // "https://image-charts.com/chart?chd=a%3A2.5%2C5%2C8.3&chs=600x300&cht=p"
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!