Localization support

Some charts might be rendered for customers over various location with different currency and localization requirements. iclocale is a query parameter available to specify in what localization the chart should be rendered.

In the example below, check the thousands and decimal number separator as well as the currency position. Same chart parameters. Only iclocale changes.

iclocale=en

english localized chart

iclocale=fr

french localized chart

Learn more in Localization documentation page.

Grid line colors

Grid line colors are now available for line, bar, bubble and radar charts!

chg=20,50,5,5,CECECE

Edit this chart

Rounded bar charts!

Bar charts are good but rounded bar charts are better!

Specify the corner radius with the new chbr parameter.

All types of bar charts are supported from stacked horizontal bar charts to grouped vertical bar charts!

Official C# library is out!

Finally an easy to use chart image generation library for C#!

C-sharp-charting-library.jpg

Package Manager:

PM> Install-Package ImageCharts -Version VERSION

.NET CLI:

dotnet add package ImageCharts --version VERSION

PackageReference:

<PackageReference Include="ImageCharts" Version="5.2.0" />
using ImageChartsLib;

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

pie.toURL(); // https://image-charts.com/chart?chd=a%3A2.5%2C5%2C8.3&chs=600x300&cht=p
pie.toFile('/path/to/chart.png');
pie.toDataURI(); // data:image/png;base64,iVBORw0KGgo...
pie.toBuffer(); // BufferedImage

Check out Image-Charts C# documentation and also the package on NuGet.

3 improvements to QRCodes: colors, SVG output, no watermark!

We know lot of you use Image-Charts API to generate large numbers of QRCode on the fly. We've got 3 news for you:

  • 💎 No watermark: everyone can now generates watermark free QRCodes!
  • 🎨 Customize Background and Foreground colors: black and white is nice but what about other colors? Two new parameters let you customize background color icqrb=<hex_color> and foreground color icqrf=<color>.
  • 🪁 SVG Output: until now QRCodes were rendered as PNG. We've added support for SVG output as well. Use chof=.svg to do so.

What is the next improvement you would you like to see?

🎚 Generate GraphViz chart as png

GraphViz Charts are the perfect representation to organizational chart, model state machines, and any relation-based chart.

Until now Image-Charts supported only svg output and many of our users asked for png support for broader compatibility. Starting today, every graphviz chart outputs png by default.

For those you wish to still use svg output, use the chof=.svg parameter. Learn more.

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!

Official ☕️ Java library

Ever wanted to sent image charts from Springboot? The official Java library is there!

<dependency>
    <groupId>com.image-charts</groupId>
    <artifactId>image-charts</artifactId>
</dependency>
import com.image.charts.ImageCharts;

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

pie.toURL(); // https://image-charts.com/chart?chd=a%3A2.5%2C5%2C8.3&chs=600x300&cht=p
pie.toDataURI(); // data:image/png;base64,iVBORw0KGgo...
pie.toBuffer(); // BufferedImage

Official 🐍 Python library

Any pythonista out-there? The official Image-Charts Python library is there!

pip install image-charts
from ImageCharts import ImageCharts

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_data_uri() # data:image/png;base64,iVBORw0KGgo...
pie.to_binary() # b'\x89PNG\r\n\x1a\n\x00\x00...

Official JavaScript and 🐘 PHP libraries

Good news! We started to release official libraries for Image-Charts. The first two are JavaScript/NodeJS and PHP!

npm install image-charts --save
composer require image-charts/image-charts

What the next programming language/platform you would like us to support?