Questions tagged [amcharts5]
173 questions
1
vote
0 answers
Vue3 & Amcharts5 - Error when exporting PDF
I have created a chart with amcharts5 but I am unable to export the chart via amcharts build-in "Exporting Menu". I get the following error in my console upon pressing "PDF" in the exporting menu:
Looking at the "Exporting.ts" file gives the…

Anders
- 105
- 1
- 9
1
vote
1 answer
Failed import using amCharts5 and Nuxt 3
I am trying to implement amCharts3 in Nuxt 3 and am getting the following error in the console:
"Uncaught SyntaxError: The requested module '/_nuxt/@fs/Users/[...]/ui/client/node_modules/regression/dist/regression.js?v=7015616a' does not provide an…

Scott Stanley
- 11
- 1
1
vote
1 answer
change tooltip color in amchart
I want to change the background colour of the tooltip value in Amchart 5.
I mean the black background colour.

Afshin
- 4,197
- 3
- 25
- 34
1
vote
0 answers
AmCharts-Sankey Chart Sum of node values
How can we get the sum of the nodes in AmChart-Sankey.I am using as like below to get sum of nodes but muddle node values getting double.
series.nodes.labels.template.setAll({
text: "[bold]{name}[/] (₹{sum})"
- });
If i am using {sumOutgoing}…

Satya Machari
- 11
- 1
1
vote
1 answer
How to make a mirrored bar chart with amCharts5 XY column series stacked series
I need a bar chart that comparatively displays two sets of data side by side along a horizontal axis.
So I have a stacked (but not clustered) column series XY chart (amCharts 5) which looks like this:
The plotted data is coming from an array of…

Christopher
- 592
- 9
- 31
1
vote
1 answer
how to add X Axis & Y Axis Titles using AMCharts V5
I am using amCharts Version 5. How do i add labels along xAxis and y Axis . I am using ValueAxis ( in an XY Chart ) . Attached the image below for better understanding
I was able to find documentation about how to achieve it in V4 but not V5.
IN V4…

Wasim Shariff
- 11
- 3
1
vote
0 answers
amCharts v5 set sprite fill color from data value
I'm trying to set a fill color on a sprite based on a data value from a json object. The result would be custom fill color from each entry in the features array.
My data structure
var cities = {
"type": "FeatureCollection",
…

MrDirby
- 181
- 6
1
vote
1 answer
Amcharts5: legend errors in multiline chart
I am using amchart5 to render some multi line data and I have some issues with how the data is being rendered.
I cannot add currency symbols to the labels of the y-axis
I cant turn the labels of the x-axis so they are more vertical rather than…

fmakawa
- 376
- 4
- 23
1
vote
1 answer
AMCharts with Angular, no data in array within AMCharts code block
I am using a chart from AMCharts in an Angular component.
When a data array is input from another component, the data array is empty when accessed inside the AMCharts code. The data array is available to be displayed in the template of the component…

AMSort
- 11
- 3
1
vote
2 answers
Hide tooltip when value is zero on amcharts5
Trying to hide all the tooltips of an XY area chart when the value is 0.
Have found a solution for amcharts4, but this is not possible for amcharts5.
The labelText key of the tooltip is a string and no function.
Solution for amcharts4:…

Tomas Vancoillie
- 3,463
- 2
- 29
- 45
1
vote
0 answers
Color country polygon in amcharts5
does anyone know how to color any one specific country (say for eg France) after onload on amcharts5? On v4 you could do:
polygonSeries.getPolygonById("France").isActive = true;
activeState.properties.fill = am4core.color("#24dd32");
however…

luca amarelli
- 25
- 4
1
vote
1 answer
AMCharts 5 legend stays when chart is deleted
I use an AMCharts 5 chart in my Angular project that needs to be removed on a certain action. When I delete the chart, the legend tooltips are still displayed.
Here is the code I use to create the chart :
this.rootTest =…

Brian
- 13
- 4
1
vote
1 answer
AmCharts Map - get List of all selected countries
i'm creating an angular project using the amcharts world map.
as you can see in this demo: https://www.amcharts.com/demos/selecting-multiple-areas-map/#code
we can select multiple countries, can someone guide me here and tell me where i can find all…

Rafik Boubaker
- 25
- 3
1
vote
1 answer
How to add CLICK events on AMCHARTS 5 labels (x and y axis)?
I am trying to add basic interactivity to my AMCHARTS 5 labels. Take this chart as an example:
I need to be able to click on the names at the left of the chart. That is actually yAxis because I use an inverted chart.
In the function that creates…

Adrian Ciocălău
- 351
- 1
- 11
1
vote
1 answer
AmCharts 5 Maps. how to find zoom level?
How to find current zoom Level on wheel event in amcharts 5?
v4 got document below. but there is no document for the same in…

Lavan Giri
- 83
- 1
- 2
- 6