
Security News
NIST Officially Stops Enriching Most CVEs as Vulnerability Volume Skyrockets
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.
angular-am-charts
Advanced tools
Data Visualization is the graphical representation of information and data . By doing so , it provides an accessable way to see and understand trends , outliers and patterns in the data .
Data Visualization is the graphical representation of information and data . By doing so , it provides an accessable way to see and understand trends , outliers and patterns in the data .
We use amCharts 4 javascript library that include most of the chart types including geographical maps . It's designed to work with modern dev toolkits like React ,Angular ,Vue ,Ember . By using this , we have developed a UI library component for various charts .
For more reference , please visit https://www.amcharts.com/
Please install the below dependencies before installing this library .
"@amcharts/amcharts4": "^4.9.19",
"@amcharts/amcharts4-geodata": "^4.1.15",
npm i angular-am-charts
title : Custom Chart title. Its an optional field .
data : Chart data in the form of JSON Array
valueField : field which contains the value .
categoryField : field which contains the category .
clickEvent : click event which returns the instance data of that particular slice of the chart data .
Example :
<advanced-pie-chart
[title]="chartTitle"
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</advanced-pie-chart>
<pie-chart
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</pie-chart>
<advanced-pie-chart
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</advanced-pie-chart>
<donut-chart
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</donut-chart>
<area-chart
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</area-chart>
<stacked-area-chart
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</stacked-area-chart>
<simple-bar-chart
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</simple-bar-chart>
<stacked-bar-chart
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</stacked-bar-chart>
<clustered-bar-chart
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</clustered-bar-chart>
<column-chart
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</column-chart>
<clustered-column-chart
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</clustered-column-chart>
<stacked-column-chart
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</stacked-column-chart>
<line-chart
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</line-chart>
<column-line-chart
[data] = "DATA"
[valueField] = "valueField"
[categoryField] = "categoryField"
>
</column-line-chart>
<time-line-chart
[data]="TIMELINE_DATA">
</time-line-chart>
Note : Time Line Data should be in the exact same format with fieldNames as given in the sample data below .
<world-map-chart
[data]="MAP_DATA">
</world-map-chart>
Note : Time Line Data should be in the exact same format with fieldNames as given in the sample data below .
Sample Data :
DATA =
[{
"country": "USA",
"visits": 2025
}, {
"country": "China",
"visits": 1882
}, {
"country": "Japan",
"visits": 1809
}, {
"country": "Germany",
"visits": 1322
}, {
"country": "UK",
"visits": 1122
}, {
"country": "France",
"visits": 1114
}, {
"country": "India",
"visits": 984
}, {
"country": "Spain",
"visits": 711
}, {
"country": "Netherlands",
"visits": 665
}, {
"country": "Russia",
"visits": 580
}, {
"country": "South Korea",
"visits": 443
}, {
"country": "Canada",
"visits": 441
}];
MAP_DATA =
[{
"title": "Brussels",
"latitude": 50.8371,
"longitude": 4.3676,
"color":null
}, {
"title": "Copenhagen",
"latitude": 55.6763,
"longitude": 12.5681,
"color":null
}, {
"title": "Paris",
"latitude": 48.8567,
"longitude": 2.3510,
"color":null
}, {
"title": "Reykjavik",
"latitude": 64.1353,
"longitude": -21.8952,
"color":null
}, {
"title": "Moscow",
"latitude": 55.7558,
"longitude": 37.6176,
"color":null
}, {
"title": "Madrid",
"latitude": 40.4167,
"longitude": -3.7033,
"color":null
}, {
"title": "London",
"latitude": 51.5002,
"longitude": -0.1262,
"color":null
}, {
"title": "Peking",
"latitude": 39.9056,
"longitude": 116.3958,
"color":null
}, {
"title": "New Delhi",
"latitude": 28.6353,
"longitude": 77.2250,
"color":null
}, {
"title": "Tokyo",
"latitude": 35.6785,
"longitude": 139.6823,
"color":null
}, {
"title": "Ankara",
"latitude": 39.9439,
"longitude": 32.8560,
"color":null
}, {
"title": "Buenos Aires",
"latitude": -34.6118,
"longitude": -58.4173,
"color":null
}, {
"title": "Brasilia",
"latitude": -15.7801,
"longitude": -47.9292,
"color":null
}, {
"title": "Ottawa",
"latitude": 45.4235,
"longitude": -75.6979,
"color":null
}, {
"title": "Washington",
"latitude": 38.8921,
"longitude": -77.0241,
"color":null
}, {
"title": "Kinshasa",
"latitude": -4.3369,
"longitude": 15.3271,
"color":null
}, {
"title": "Cairo",
"latitude": 30.0571,
"longitude": 31.2272,
"color":null
}, {
"title": "Pretoria",
"latitude": -25.7463,
"longitude": 28.1876,
"color":null
}
];
TIMELINE_DATA =
[{
"category": "Module #1",
"start": "2016-01-10",
"end": "2016-01-13",
"color":null,
"task": "Gathering requirements"
}, {
"category": "Module #1",
"start": "2016-02-05",
"end": "2016-04-18",
"color": null,
"task": "Development"
}, {
"category": "Module #2",
"start": "2016-01-08",
"end": "2016-01-10",
"color": null,
"task": "Gathering requirements"
}, {
"category": "Module #2",
"start": "2016-01-12",
"end": "2016-01-15",
"color": null,
"task": "Producing specifications"
}, {
"category": "Module #2",
"start": "2016-01-16",
"end": "2016-02-05",
"color": null,
"task": "Development"
}, {
"category": "Module #2",
"start": "2016-02-10",
"end": "2016-02-18",
"color": null,
"task": "Testing and QA"
}, {
"category": "",
"task": ""
},{
"category": "Module #3",
"start": "2016-01-01",
"end": "2016-01-19",
"color": null,
"task": "Gathering requirements"
}, {
"category": "Module #3",
"start": "2016-02-01",
"end": "2016-02-10",
"color": null,
"task": "Producing specifications"
}, {
"category": "Module #3",
"start": "2016-03-10",
"end": "2016-04-15",
"color": null,
"task": "Development"
}, {
"category": "Module #3",
"start": "2016-04-20",
"end": "2016-04-30",
"color": null,
"task": "Testing and QA"
}, {
"category": "Module #4",
"start": "2016-01-15",
"end": "2016-02-12",
"color": null,
"task": "Gathering requirements"
},{
"category": "Module #4",
"start": "2016-02-25",
"end": "2016-03-10",
"color": null,
"task": "Development"
}, {
"category": "Module #4",
"start": "2016-03-23",
"end": "2016-04-29",
"color": null,
"task": "Testing and QA"
}
];
FAQs
Data Visualization is the graphical representation of information and data . By doing so , it provides an accessable way to see and understand trends , outliers and patterns in the data .
The npm package angular-am-charts receives a total of 2 weekly downloads. As such, angular-am-charts popularity was classified as not popular.
We found that angular-am-charts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.