amCharts
A commercial JavaScript charting library covering charts, maps and stock charts, built around composable objects.
amCharts is a JavaScript library for charts and maps in the browser. A chart is assembled from objects such as a chart, its axes and its series, each configured through its own settings. Alongside standard charts it provides geographic maps and chart types intended for financial data. Its licensing is commercial.
What amCharts is
amCharts is a JavaScript charting library. It draws charts in a browser, and it also covers geographic maps and chart types built for financial data.
Two things characterise it: how a chart is constructed, and the fact that it is a commercial product.
Licensing first
amCharts is sold rather than given away. The official site publishes the licence terms, including any conditions under which it can be used without purchase.
That is the first thing to establish, because it determines whether the rest of an evaluation is worth doing. It is a far easier question to answer at the start than after a prototype exists.
Charts built from objects
Many charting libraries take a single configuration structure describing the whole chart. You pass one nested object and get a chart back.
amCharts works differently. You create a chart object, then create its axes as objects, then create its series as objects, configuring each as you go.
This is more code for a simple chart. What it buys is direct access to the parts. Changing one axis on an existing chart, or adding a series in response to something a user did, means acting on that object rather than reconstructing a configuration and reapplying it.
For a chart that changes while a user interacts with it, that difference is practical rather than stylistic.
Maps included
Map charts are part of the same library, with geographic data provided.
That matters because the alternative is adding a mapping library and sourcing boundary data separately, then reconciling two different styling systems in the same interface. Having charts and maps come from one library keeps an application's visual language consistent.
Financial chart types
Market data has requirements ordinary chart types handle poorly: candlestick series, long histories that need navigating, and awareness of periods where no trading occurred.
These types are provided rather than approximated. For an application showing price movement, that is the difference between something built for the job and something adapted to it.
Themes
Appearance is applied through themes rather than configured per chart.
For an application with many charts this is what keeps them consistent. Content is decided per chart; appearance is decided once.
Who uses it
amCharts is used by teams building commercial applications where charts are part of the product, particularly where financial chart types or maps are needed and where a licence with defined support terms is a requirement.
Points to consider
Cost is the main one, and the terms should be checked against your specific use.
The object based construction is also more verbose than a configuration driven library. For a page needing three simple charts, a lighter open source library will do it in less code and without the licensing question.
Getting started
The official documentation covers installation, the object model, each chart type, maps and themes, with runnable examples throughout. Building a simple chart with one axis pair and one series covers the construction pattern that everything else follows.
Key features of amCharts
Capabilities described in the official documentation.
Charts assembled from objects
A chart, its axes and its series are separate objects, each created and configured rather than set in one structure.
Maps with geographic data
Map charts display values by area or point, with geographic data supplied as part of the library.
Financial chart types
Chart types intended for market data include candlestick series and tools for working across long histories.
Themes
Appearance is applied through themes so a consistent look does not have to be configured on each chart.
Advantages of amCharts
Factual advantages that follow from the features above.
Individual parts can be adjusted
Because a chart is built from objects, one axis or series can be modified without redefining the whole chart.
Charts and maps from one library
Geographic output comes from the same library as charts, so a second mapping dependency is not required.
Specialist chart types are provided
Financial chart types are built in rather than approximated from general purpose series types.
A licence with defined terms
Commercial licensing sets out support and usage terms, which some organisations require before adopting a dependency.
Common use cases for amCharts
Situations the official documentation describes this tool as being used for.
Charts in a commercial application
Visualisations are embedded in software sold to customers under a licence purchased for that use.
Market and price charts
Financial chart types display price movement over long periods with the tools that analysis needs.
Showing figures by territory
Map charts display values by country or region using the geographic data the library provides.
A consistent look across many charts
A theme applied across an application means its charts share one appearance without repeated configuration.
Official website
Everything on this page is based on the official documentation for amCharts. You can read the source here.
amCharts official documentation