Type tutorial
This demo shows how we can populate a custom legend on a Map chart from its Polygon series data. Code Contrary to other chart types, Legend cannot readily use data items from a Map series. The main reason being that most map series use geodata, which is parsed asynchronously, so the data items might not […]
Type tutorial
This tutorial will show how we can change cursor style when hovering over some chart element. Setting cursor style We can use any element’s cursorOverStyle setting to specify which cursor to show when it is hovered by a mouse cursor. Available styles The following table lists a few of the most common cursor styles. For […]
Type demo
This demo shows how we can use a Circle element in map point series bullets to make a regular square image rounded.
Type tutorial
amCharts 5 comes with a few maps that has some of their areas (islands) deliberately displaced, so they are closer to the mainland. Maps like that usually make a much better effective use of the available screen space at the expense of displaced areas not being compatible with actual lat/long coordinates. Map list Below is […]
Type tutorial
This short tutorial will explain how we can add various types of information as a watermark on charts. In plot area of an XY chart An XY chart has a special container called a plot area, accessible via chart.plotContainer. We can create any type of element, as well as push it into plot container’s children. […]
Type tutorial
In additional to world and country maps, amCharts 5 geodata package comes with a set of specialized regional maps, such as second-level subdivisions (districts), e.g. counties. This tutorial will show how those can be used. Pre-requisites We’re assuming, you have basic knowledge of how the map chart works, about its data loading, and series. Please […]
Type tutorial
Normally, browsers will display a context menu when you press right mouse button over some element. If done over amCharts 5, it will display a context menu for a <canvas> element. This tutorial will show how you can disable default behavior of a right-click on canvas elements, as well as attach built-in rightclick event to […]
Type tutorial
Some countries like India, China, and some other have local regulations regarding how their borders are drawn that differ from UN-mandated or actually controlled territories. This tutorial will explain how to use country-specific maps with MapChart. Available maps The following country-specific versions of World map are currently available: Country Map files (.ts; .js; .json) Map […]