Questions tagged [amcharts]

amCharts is a JavaScript library that generates charts for data visualizations. Use this tag when you have issues understanding or using this library.

JavaScript charting and mapping controls.

amCharts charting solutions include:

2607 questions
0
votes
1 answer

Amchart : changing color of MapChart bug

I have a MapChart of the world with no color (grey by default for countries and white for the oceans): My code: var container = am4core.create("concatChart", am4core.Container); container.width = am4core.percent(100); container.height =…
licer93
  • 311
  • 2
  • 7
  • 18
0
votes
1 answer

Removing pointer from tooltip in amcharts 4

Is it possible to remove pointer on tooltip in amCharts? I know you can change orientation by setting series.tooltip.pointerOrientation to one of the following "horizontal" | "vertical" | "left" | "right" | "up" | "down" but is it possible to…
idjuradj
  • 1,355
  • 6
  • 19
  • 31
0
votes
1 answer

AmCharts 4 : Can't customize (color, strokeWidth) my series

EDIT : OK, It was my css page which had a rule on path, 'cause I use svg a lot. Removed that rule and the problem was gone ! I'm facing something pretty annoying and which I do not understand. I'm using amChart to make a XY chart with multiple…
Nedwor
  • 1
  • 1
0
votes
0 answers

AmCharts - Interactive buttons in Tooltip

The tooltip displays details about the marker (image) when the cursor hovers on the marker. I want to place buttons inside the tooltip which can have different effects on that map. But I don't understand how to add event listeners for the 'onclick'…
Sriram
  • 1
  • 1
0
votes
1 answer

How to automate amcharts using jasmine-protractor?

I want to check this graph's data enter image description here
0
votes
1 answer

How to have default (pre) zoom of category axis in amcharts 4?

For a chart like this https://codepen.io/team/amcharts/pen/NmNLoL function categoryAxisZoomed(ev) { var axis = ev.target; var start = axis.getPositionLabel(axis.start); var end = axis.getPositionLabel(axis.end); console.log("New range: " + start + "…
0
votes
1 answer

Amcharts chord diagram sort nodes by a specific value

I am creating a (non-ribbon) chord diagram using amcharts library, and was wondering if there is a way to sort nodes given a specific value stored in the dataset. What I am looking for is if we have for example some dataset like this : data = [ …
Sanimys
  • 101
  • 1
  • 10
0
votes
1 answer

AM charts plots on the wong position

Am charts plots lines some lines on the wrong y-axis position. see code and snapshot bellow. My graphs: [{"bullet":"none","labelsEnabled":false,"dashLength":0,"lineThickness":3,"title":[["Tonnes…
0
votes
0 answers

how to display data in gantt chart using amcharts in same object interval

Sorry to disturb your time. How can I show data in gantt chart renderChartDenver() { var chart = am4core.create("chartDenver", am4charts.XYChart); chart.data = [{ "name": "John", "startTime": 8, "endTime":…
0
votes
1 answer

Change color of specific circle in the packed circle chart (amcharts)

How can we change the color used in amcharts for packed circle chart? we can set the theme but what I'm trying to do is to override the color for specific circles I can define in the JSON. any idea how can we do this? They use example here…
user3003810
  • 941
  • 3
  • 18
  • 45
0
votes
1 answer

How to find number of bars in amcharts 4 graph?

I have built a chart using amcharts 4 and want to add if-else statement based on the number of columns/bars I want to make statements like if(number of columns > 20) {do something} Is there a way to get the total number of bars?
0
votes
1 answer

Initial date range using amchart's gantt

I am using Amchart's Gantt chart. The segments are divided by dates. I need the chart's navigator initial location will be between two dates, and not to be applied all over the chart. the current behavior: The expected result: I tried adding…
LarryKing
  • 127
  • 1
  • 1
  • 7
0
votes
0 answers

The method zoomToMapObject(ev.target) doesn't zoom to USA in amCharts

I'm using amCharts to show a World Map, and I have this code for when the user clicks on a country: var groupData = [ { "name": "America", "color": "#7DB378", "data": [{ "title":…
OMA
  • 3,442
  • 2
  • 32
  • 39
0
votes
1 answer

amcharts radarchart with two valueaxis starting at radius 50%

Summary In the RadarChart the assignment valueaxis2.renderer.innerRadius = new am4core.percent(50); is ignored. But why? Is that a bug? In this am4charts demo the weekdayAxis (Mon-Sun) does have an innerRadius assigned and it works. It is a…
Werner Daehn
  • 577
  • 6
  • 16
0
votes
1 answer

Setting global line styles - Amchart

I have a function which creates a series line in amcahrt. Within in I have the following lines let bullet = series.bullets.push(new am4charts.CircleBullet()) bullet.circle.stroke = am4core.color('#fff') bullet.circle.radius = 5 series.strokeWidth…
TommyD
  • 913
  • 3
  • 17
  • 32