Skip to content

Commit ceac38a

Browse files
Merge pull request #13 from fusioncharts/release/4.0.0
v4.0.0
2 parents 55c8d33 + 5cf685c commit ceac38a

19 files changed

+206
-226
lines changed

README.md

Lines changed: 70 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
1-
FusionMaps is a companion package meant to be used in conjunction with [FusionCharts](https://www.npmjs.com/package/fusioncharts) to render data-driven maps (over 2,000+ maps for different continents, countries, states & regions). This package contains choropleth maps that can render on both desktop & mobile, with extended functionality like city or location markers, annotations, events etc.
1+
FusionMaps is a companion package meant to be used in conjunction with [FusionCharts](https://www.npmjs.com/package/fusioncharts) to render data-driven maps (over 2,000+ maps for different continents, countries, states & regions). This package contains choropleth maps that can render on both desktop & mobile, with extended functionality like city or location markers, annotations, events etc.
22

3-
This package contains definition files for all the maps. Map definition files are the path files required by FusionMaps to plot a map for a particular region. Each map has its own path file. _By default, FusionCharts package only includes definition files for two maps - the World map and the USA map._
3+
This package contains definition files for all the maps. Map definition files are the path files required by FusionMaps to plot a map for a particular region. Each map has its own path file.
44

5-
### What's New in FusionMaps 3.23.0
5+
_By default, FusionCharts package only includes definition files for two maps - the World map and the USA map._
66

7-
#### Improvements
8-
9-
- The rendering issues of Japan's 16 provinces were resolved. These provinces include Yamagata, Tochigi, Saitama, Tokyo, Toyama, Yamanashi, Shizuoka, Shiga, Wakayama, Tottori, Shimane, Okayama, Yamaguchi, Tokushima, Saga, and Okinawa.
10-
- Fixed the issue where certain values skewed the Radial bar
11-
- Two additional provinces were incorporated into Costa Rica maps: Monteverde and Puerto Jimenez
12-
13-
<br />
14-
15-
- Official Website: [https://www.fusioncharts.com/](https://www.fusioncharts.com/)
16-
- FusionCharts NPM: [https://www.npmjs.com/package/fusioncharts](https://www.npmjs.com/package/fusioncharts)
17-
- Documentation: [https://www.fusioncharts.com/dev/](https://www.fusioncharts.com/dev/)
18-
- Map Specification Sheets: [https://www.fusioncharts.com/dev/maps/spec-sheets/](https://www.fusioncharts.com/dev/maps/spec-sheets/)
19-
- Support: [https://www.fusioncharts.com/contact-support](https://www.fusioncharts.com/contact-support)
20-
- Issues: [https://github.com/fusioncharts/fusionmaps-dist](https://github.com/fusioncharts/fusionmaps-dist)
7+
- Official Website: [https://www.fusioncharts.com/](https://www.fusioncharts.com/)
8+
- FusionCharts NPM: [https://www.npmjs.com/package/fusioncharts](https://www.npmjs.com/package/fusioncharts)
9+
- Documentation: [https://www.fusioncharts.com/dev/](https://www.fusioncharts.com/dev/)
10+
- Map Specification Sheets: [https://www.fusioncharts.com/dev/maps/spec-sheets/](https://www.fusioncharts.com/dev/maps/spec-sheets/)
11+
- Support: [https://www.fusioncharts.com/contact-support](https://www.fusioncharts.com/contact-support)
12+
- Issues: [https://github.com/fusioncharts/fusionmaps-dist](https://github.com/fusioncharts/fusionmaps-dist)
2113

2214
---
23-
2415
### Table of Contents
25-
2616
- [Installing FusionMaps](#installing-fusionmaps)
2717
- [Getting Started](#getting-started)
2818
- [Using FusionMaps as an ES Module](#using-fusionmaps-as-an-es-module)
@@ -32,8 +22,8 @@ This package contains definition files for all the maps. Map definition files ar
3222
- [Contact Support](#contact-support)
3323
- [Folder Structure](#folder-structure)
3424

35-
## Installing FusionMaps
3625

26+
## Installing FusionMaps
3727
There are multiple ways to install FusionMaps. For general instructions, refer to this [developer docs page](https://www.fusioncharts.com/dev/map-guide/setup).
3828

3929
**Direct Download**
@@ -45,88 +35,79 @@ Instead of downloading, you can also use FusionCharts’s CDN to access map defi
4535
```html
4636
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/maps/<MAP_ALIAS>.js"></script>
4737
```
48-
4938
`MAP_ALIAS` is the name of the map that you're plotting, used by FusionMaps. For each map, FusionMaps has a different JavaScript alias. e.g., World Map is `world` etc.
5039

5140
**Install from NPM**
52-
5341
```bash
5442
npm install --save fusionmaps
5543
```
56-
5744
You will also need FusionCharts package installed on your system to use maps. You can install the same using below command
58-
5945
```bash
6046
npm install --save fusioncharts
6147
```
62-
6348
See [npm documentation](https://docs.npmjs.com/) to know more about npm usage.
6449

65-
## Getting Started
6650

51+
## Getting Started
6752
Easiest way to render map is to include the FusionCharts JavaScript library files and map definition file in your webpage, create `<div>` container and chart instance, configure the data and render. Check this HTML snippet below:
68-
6953
```html
70-
<!DOCTYPE html>
54+
<!doctype html>
7155
<html>
72-
<head>
56+
<head>
7357
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.js"></script>
7458
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.maps.js"></script>
7559
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/maps/fusioncharts.world.js"></script>
7660
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/themes/fusioncharts.theme.fusion.js"></script>
77-
</head>
78-
<body>
79-
<div id="chart-container"></div>
80-
<script>
81-
FusionCharts.ready(function () {
82-
// chart instance
83-
var chart = new FusionCharts({
84-
type: "world",
85-
renderAt: "chart-container", // container where chart will render
86-
width: "600",
87-
height: "400",
88-
dataFormat: "json",
89-
dataSource: {
90-
chart: {
91-
caption: "Average Annual Population Growth",
92-
subcaption: " 1955-2015",
93-
numbersuffix: "%",
94-
includevalueinlabels: "1",
95-
labelsepchar: ": ",
96-
entityFillHoverColor: "#FFF9C4",
97-
theme: "fusion",
98-
},
99-
data: [
100-
{ id: "NA", value: ".82", showLabel: "1" },
101-
{ id: "SA", value: "2.04", showLabel: "1" },
102-
{ id: "AS", value: "1.78", showLabel: "1" },
103-
{ id: "EU", value: ".40", showLabel: "1" },
104-
{ id: "AF", value: "2.58", showLabel: "1" },
105-
{ id: "AU", value: "1.30", showLabel: "1" },
106-
],
107-
},
108-
}).render();
109-
});
61+
</head>
62+
<body>
63+
<div id="chart-container"></div>
64+
<script>
65+
FusionCharts.ready(function () {
66+
// chart instance
67+
var chart = new FusionCharts({
68+
type: "world",
69+
renderAt: "chart-container", // container where chart will render
70+
width: "600",
71+
height: "400",
72+
dataFormat: "json",
73+
dataSource: {
74+
"chart": {
75+
"caption": "Average Annual Population Growth",
76+
"subcaption": " 1955-2015",
77+
"numbersuffix": "%",
78+
"includevalueinlabels": "1",
79+
"labelsepchar": ": ",
80+
"entityFillHoverColor": "#FFF9C4",
81+
"theme": "fusion"
82+
},
83+
"data": [
84+
{ "id": "NA", "value": ".82", "showLabel": "1" },
85+
{ "id": "SA", "value": "2.04", "showLabel": "1" },
86+
{ "id": "AS", "value": "1.78", "showLabel": "1" },
87+
{ "id": "EU", "value": ".40", "showLabel": "1" },
88+
{ "id": "AF", "value": "2.58", "showLabel": "1" },
89+
{ "id": "AU", "value": "1.30", "showLabel": "1" }
90+
]
91+
}
92+
}).render();
93+
});
11094
</script>
111-
</body>
95+
</body>
11296
</html>
11397
```
114-
11598
As you can see in above example, each continent is referenced using an ID. Each map in FusionMaps has its own regions, each of which have its own ID and name. These are present in specification sheets for the map. You can find specification sheets for all maps [here](https://www.fusioncharts.com/dev/maps/spec-sheets/).
11699

117100
Learn more through resources below:
101+
- [Documentation](https://www.fusioncharts.com/dev/map-guide/simple-data-driven-maps)
102+
- [Examples](https://www.fusioncharts.com/explore/chart-gallery?product=fusionmaps)
103+
- [Marker Data](https://www.fusioncharts.com/dev/maps/marker-data/)
104+
- API [Events](https://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-events) & [Methods](https://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-methods)
118105

119-
- [Documentation](https://www.fusioncharts.com/dev/map-guide/simple-data-driven-maps)
120-
- [Examples](https://www.fusioncharts.com/explore/chart-gallery?product=fusionmaps)
121-
- [Marker Data](https://www.fusioncharts.com/dev/maps/marker-data/)
122-
- API [Events](https://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-events) & [Methods](https://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-methods)
123106

124107
## Using FusionMaps as an ES Module
125-
126-
FusionMaps can be loaded as an ES module via transpilers.
108+
FusionMaps can be loaded as an ES module via transpilers.
127109

128110
The following examples presumes you are using npm to install FusionCharts and FusionMaps, see Installing FusionMaps for more details.
129-
130111
```javascript
131112
import FusionCharts from 'fusioncharts/core';
132113
import Maps from 'fusioncharts/maps';
@@ -169,35 +150,34 @@ var chart = new FusionCharts({
169150
chart.render();
170151
```
171152

172-
## Related Packages
173153

154+
## Related Packages
174155
### Front-end Integrations to help you easily integrate FusionCharts Suite in your projects/apps
175156

176-
| | | |
177-
| :------------------------ | :-------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------- |
178-
| AngularJS (1.x and above) | [Github Repo](https://github.com/fusioncharts/angularjs-fusioncharts) | [Documentation](https://www.fusioncharts.com/dev/getting-started/angular/angularjs/your-first-chart-using-angularjs) |
179-
| Angular (2.x and above) | [Github Repo](https://github.com/fusioncharts/angular-fusioncharts) | [Documentation](https://www.fusioncharts.com/dev/getting-started/angular/angular/your-first-chart-using-angular) |
180-
| jQuery | [Github Repo](https://github.com/fusioncharts/fusioncharts-jquery-plugin) | [Documentation](https://www.fusioncharts.com/dev/getting-started/jquery/your-first-chart-using-jquery) |
181-
| React | [Github Repo](https://github.com/fusioncharts/react-fusioncharts-component) | [Documentation](https://www.fusioncharts.com/dev/getting-started/react/your-first-chart-using-react) |
182-
| Vue.js | [Github Repo](https://github.com/fusioncharts/vue-fusioncharts) | [Documentation](https://www.fusioncharts.com/dev/getting-started/vue/your-first-chart-using-vuejs) |
157+
| | | |
158+
|:----------------|:---------------|:---------|
159+
|AngularJS (1.x and above)|[Github Repo](https://github.com/fusioncharts/angularjs-fusioncharts)|[Documentation](https://www.fusioncharts.com/dev/getting-started/angular/angularjs/your-first-chart-using-angularjs)|
160+
|Angular (2.x and above)|[Github Repo](https://github.com/fusioncharts/angular-fusioncharts)|[Documentation](https://www.fusioncharts.com/dev/getting-started/angular/angular/your-first-chart-using-angular)|
161+
|jQuery|[Github Repo](https://github.com/fusioncharts/fusioncharts-jquery-plugin)|[Documentation](https://www.fusioncharts.com/dev/getting-started/jquery/your-first-chart-using-jquery)|
162+
|React|[Github Repo](https://github.com/fusioncharts/react-fusioncharts-component)|[Documentation](https://www.fusioncharts.com/dev/getting-started/react/your-first-chart-using-react)|
163+
|Vue.js|[Github Repo](https://github.com/fusioncharts/vue-fusioncharts)|[Documentation](https://www.fusioncharts.com/dev/getting-started/vue/your-first-chart-using-vuejs)|
183164

184165
### Back-end Integrations to help you easily integrate FusionCharts Suite in your projects/apps
166+
| | | |
167+
|:----------------|:---------------|:---------|
168+
|ASP.NET (C#)|[Github Repo](https://github.com/fusioncharts/asp-net-wrapper)|[Documentation](https://www.fusioncharts.com/dev/getting-started/aspnet/your-first-chart-using-aspnet)|
169+
|ASP.NET (VB)|[Github Repo](https://github.com/fusioncharts/vb-net-wrapper)|[Documentation](https://www.fusioncharts.com/dev/getting-started/aspnet/your-first-chart-using-aspnet)|
170+
|Java (JSP)|[Github Repo](https://github.com/fusioncharts/jsp-wrapper)|[Documentation](https://www.fusioncharts.com/dev/getting-started/java/your-first-chart-using-java)|
171+
|Django|[Github Repo](https://github.com/fusioncharts/django-wrapper)|[Documentation](https://www.fusioncharts.com/dev/getting-started/django/your-first-chart-using-django)|
172+
|PHP|[Github Repo](https://github.com/fusioncharts/php-wrapper)|[Documentation](https://www.fusioncharts.com/dev/getting-started/php/your-first-chart-using-php)|
173+
|Ruby on Rails|[Github Repo](https://github.com/fusioncharts/rails-wrapper)|[Documentation](https://www.fusioncharts.com/dev/getting-started/ruby-on-rails/your-first-chart-using-ruby-on-rails)|
185174

186-
| | | |
187-
| :------------ | :------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------- |
188-
| ASP.NET (C#) | [Github Repo](https://github.com/fusioncharts/asp-net-wrapper) | [Documentation](https://www.fusioncharts.com/dev/getting-started/aspnet/your-first-chart-using-aspnet) |
189-
| ASP.NET (VB) | [Github Repo](https://github.com/fusioncharts/vb-net-wrapper) | [Documentation](https://www.fusioncharts.com/dev/getting-started/aspnet/your-first-chart-using-aspnet) |
190-
| Java (JSP) | [Github Repo](https://github.com/fusioncharts/jsp-wrapper) | [Documentation](https://www.fusioncharts.com/dev/getting-started/java/your-first-chart-using-java) |
191-
| Django | [Github Repo](https://github.com/fusioncharts/django-wrapper) | [Documentation](https://www.fusioncharts.com/dev/getting-started/django/your-first-chart-using-django) |
192-
| PHP | [Github Repo](https://github.com/fusioncharts/php-wrapper) | [Documentation](https://www.fusioncharts.com/dev/getting-started/php/your-first-chart-using-php) |
193-
| Ruby on Rails | [Github Repo](https://github.com/fusioncharts/rails-wrapper) | [Documentation](https://www.fusioncharts.com/dev/getting-started/ruby-on-rails/your-first-chart-using-ruby-on-rails) |
194175

195176
## Contact Support
177+
Fill [this form](https://www.fusioncharts.com/contact-support) or drop an email to [support@fusioncharts.com](mailto: support@fusioncharts.com)
196178

197-
Fill [this form](https://www.fusioncharts.com/contact-support) or drop an email to [support@fusioncharts.com](mailto: <support@fusioncharts.com>)
198179

199180
## Folder Structure
200-
201181
```
202182
fusionmaps/
203183
└── maps/
@@ -210,4 +190,4 @@ fusionmaps/
210190
├── fusioncharts.usa.js
211191
├── ...
212192
└── fusioncharts.<MAP_ALIAS>.js
213-
```
193+
```

fusioncharts.accessibility.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fusioncharts.charts.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fusioncharts.excelexport.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fusioncharts.gantt.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fusioncharts.js

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fusioncharts.maps.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fusioncharts.msstackedcolumn2dsplinedy.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)