Image Charts changelog
Image Charts changelog
image-charts.com

Self-service billing management

 

New

  

­čÄë Image-Charts new customer portal let you:

  • update your default payment method
  • update your billing information
  • list and download your invoice history

Known limitation: only the email used at subscription time will work.

SQL/Athena code example for Enterprise

Learn how to sign Image-Charts url with hmac using purely SQL function available from AWS Athena or Presto in this code snippet.

Consistent errors

 

Improvement

 

 

When Image-Charts API yield an error, the x-ic-error-validation header details what went wrong. We saw that sometimes header value was serialized JSON sometimes it was not. Starting today, it will always yield a serialized JSON value.

Learn more about Image Charts errors.

Background Image

 

New

 

 

Specify an image url to use it as a background for your chart! The URL must be completely encoded in order to be handled and we will take care of the rest! The image will take up all the available space.

/chart.js API

If you wish to use our chart.js api endpoint instead, this feature is available through the backgroundImage plugin:

{
 "options":{
    "plugins":{
        "backgroundImage":{
            "url":"https://i.imgur.com/hCyint9.jpg"
        }
    }
 }
}

/chart API

The usual chart background parameter now supports a new img modifier to specify the encoded image url?

chf=bg,img,<image_url>

Progress bar charts

 

New

 

 

Progress bar are excellent to show the progress of something associated with your customer, your product or anything else. We have made it really easy to setup. Read more about Progress bar charts in the dedicated documentation page.

chart

Multiple improvements

 

Improvement

 

 

Localization support

 

Improvement

 

 

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

 

Improvement

 

 

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!

 

New

 

 

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!

 

New

 

 

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.