Type tutorial
As an aid to vision-impaired users MS Windows operating system offers a “high contrast” mode. While most of the modern browsers have no issues with it, there are some quirks affecting chart visibility in older Internet Explorer and EDGE browsers. This tutorial shows a quick workaround. The problem Internet Explorer and EDGE browsers, when Windows […]
Type tutorial
If you are using amCharts WordPress plugin, you might be wondering how to transfer ready-made demos from amcharts.com website, or ones that you find scattered around on CodePen or jsFiddle services. This tutorial will provide a short instructions on how to do so. Most of the amCharts demos you find will be shown on either […]
Type tutorial
WordPress being the single most used web publishing platform, is perfect for when you want your website up and running in minutes. However, when it comes to dynamic content, such as JavaScript, you’ll find that there’s practically no options in the plain vanilla WP install. This is precisely the reason why we went ahead and […]
Type tutorial
This short tutorial will show how you can make parts of any label super- or sub-script using amCharts 4’s in-line text formatting syntax. IMPORTANT The baseline-shift used in this tutorial is being deprecated, and thus may not work in all browsers. Use with care. Enabling PREREQUISITE If you don’t know how square bracket text formatting […]
Type tutorial
This tutorial will show how you can use Annotation plugin (available since 4.5.5) to, well annotate the charts using some basic UI and tools. NOTE Annotation is a plugin. For information about using plugins, refer to this article. Using the plugin Including the module Before you can use this plugin you need to make sure […]
Type tutorial
Tooltips are used in a number of places to provide contextual information on a hovered/tapped object, like a Slice of a Pie Chart, or a country on a map. By default, tooltips are completely static with no way to interact with them. This tutorial will explain how you can make them interactive, adding clickable links […]
Type tutorial
This extensive tutorial will show how you can use pdfmake library, which is bundled with amCharts, to generate full page, multi-content report PDF documents. Disclaimer Majority of this tutorial is based on using pdfmake. It’s an excellent third party library enabling generating PDF documents in JavaScript. Our aim is to walk you through basics of […]
Type tutorial
If you need to automate the generation of chart images or PDF, Selenium Webdriver might be the best option. It can handle different browsers even though this example only shows it using Firefox. Setting up Install NodeJS Install Firefox Create a folder Create a file called package.json in the new folder with the content shown […]
Type tutorial
amCharts 4 allows automatically adding element-specific class attributes to its SVG elements for easy targeting via CSS selectors. This tutorial explains how to enable and use them. Enabling class names By default, when chart is generating SVG elements, no class attributes are added to it’s element. Let’s take a simple Line series with bullets: The […]
Type tutorial
amCharts’ number formatter has a way of formatting numbers in a variety of ways, including converting to prefix/suffix-based shorter equivalents. This tutorial will explain how you can tweak it according to your needs. The problem Extremely big numbers on a chart can be confusing and wasteful of space: Let’s see how we can fix that. […]