Maps and Charts in one Dashboard


If you need to show some statistics with the maps, then create a dashboard. AnyChart can make dashboards of two types: table and stage-based. We recommend to create the second one in case of using maps and charts together.

You may create such maps that will show some statistics for regions on click or display different maps for each chart in reverse.

Simple Dashboard

First of all, look at the simple dashboard with an only map and an only chart.

JsFiddle Playground

stage ="container");
var data = [
	['AU.WA', 300],
	['AU.JB', 230],
	['AU.NS', 240],
	['AU.VI', 275],
	['AU.NT', 130],
	['AU.TS', 190],
	['AU.CT', 100],
	['AU.SA', 305],
	['AU.QL', 190]

At first we create a container which is stage now. Read more about stage-based dashboards here.

Then we should not forget about the bounds to define where charts are displayed.

var map =;
map.title('Australia Map');
map.bounds(0, 0, '100%', '70%');

var area = anychart.area();
area.title('Spline Area Chart');
area.bounds(0, '70%', '100%', '30%');
You are looking at an outdated 8.0.0 version of this document. Switch to the 8.3.0 version to see the up to date information.