Questions tagged [amcharts5]
173 questions
1
vote
1 answer
amCharts v5 demo code doesn't compile in VS Code
I'm posting this in case anyone else ran into the same issue. As of Feb 2022 amCharts v5 is still very new and the demo code seems to need a little curation on amCharts' part i.e. Show us that the object needs to be declared with a type - AND TELL…

Adam Hey
- 1,512
- 1
- 20
- 24
1
vote
0 answers
Change position of tooltip in AMCharts
I have this AMCharts v5 which shows a tooltip on top of a data point / bullet
DEMO
I tried to define a position
series.columns.template.setAll({
tooltipX: 10
});
Although I'm not sure this will do what I want it doesn't work. When I add this…

Jeanluca Scaljeri
- 26,343
- 56
- 205
- 333
1
vote
0 answers
Plot data with week numbers on the x-axis in AMChart5
I'm a bit lost here while using AMCharts5. There are just too many configuration parameters. So, let's assume the following data series:
{
date: new Date(2021, 0, 5).getTime(),
value: 156
},
{
date: new Date(2021, 0, 6).getTime(),
…

Jeanluca Scaljeri
- 26,343
- 56
- 205
- 333
1
vote
1 answer
amCharts 5: CategoryAxis.height() after first datavalidated event
Context
I am trying to replicate amCharts 4 Auto-adjusting chart height based on a number of data items with amCharts 5 instead.
Code pens with console logs:
amCharts 4: https://codepen.io/jackfoo/pen/XWeoNdW
amCharts 5:…

soliz
- 735
- 1
- 7
- 17
1
vote
1 answer
Is it possible to have HTML in a tooltip in amcharts 5
I would like to add a link to a tooltip in amcharts5. I see documentation for using tooltipHTML in version 4, but no mention in the docs either way if this is possible in amcharts5. Using tooltipHTML doesn't seem to work.

lee
- 303
- 3
- 5
1
vote
1 answer
how to sum of values in middle of pie chart using amchart 5
How can i show sum of value in the middle of pie chart using am charts.
am5.ready(function() {
var totalUsers = {!! json_encode($totalUsers) !!};
var root = am5.Root.new("total-users");
root.setThemes([
…

إرتقاء
- 41
- 5
1
vote
1 answer
Is it possible to use amCharts5: Simple Pie Chart, but not with percentages?
I started using this library, and I liked it. I was wondering if anyone had the need for instead of showing the data in percentage, to show the real data without going to its corresponding %.
https://www.amcharts.com/demos/simple-pie-chart/
Thank…

ChristianMV
- 11
- 1
0
votes
0 answers
amCharts: gridlayout in axis container is not responsive
Im working in typescript and react and I want to create a graph where i have a top part of the graph containing 2 line series, and a bottom part containing of an additional series (see Picture 1)
Picture 1
The catch of the chart is that the bottom…

Rik Van de Velde
- 1
- 1
0
votes
0 answers
amcharts 5- clicking on legend in partitioned-bar-chart to show hide the series is not working
Why series toggling is not working on partitioned-bar-chart (https://www.amcharts.com/demos/partitioned-bar-chart/) on click legend.I tried with clickTarget: "marker" property in legend but it is not working. pleas help

Rajesh Kandari
- 183
- 1
- 7
0
votes
0 answers
The amchart5 graph library suddenly doesn't work in Eclipse, jquery
The amchart5 graph library works on my personal project
I'm trying to use the code in the company project, and the error appears as below.. I've been trying, but it's not working.. I think it's a problem with other libraries, but I don't know…

cs L
- 1
0
votes
0 answers
Customize amchart zoom in/out buttons icon color
I am customizing the background (normal, down, and hover states) of the zoom in and zoom out buttons in an amcharts map chart in the following way:
let zoomControl = chart.set('zoomControl', am5map.ZoomControl.new(root,…

WillD
- 5,170
- 6
- 27
- 56
0
votes
1 answer
AmCharts 5 Zooming into Location?
Somewhat new to using AmCharts 5, and I'm just trying to trigger a simple zoom into a location on a map. However, no matter what tutorial I follow, I cannot replicate the results that others do.
I've got a Codepen setup so that you can play around…

Tony Ingall
- 41
- 5
0
votes
0 answers
How to make different color of markers for a map using amchart5
I want to color markers in the map of amchart5 dynamically. Each marker has to get the color that i want. In my data I have many points where each point has latitude, Longitude, url, color, zoom level etc. I want marker in the map to color according…

devi
- 1
- 1
0
votes
1 answer
amCharts5: rotated x axis labels are overflowing out of view (javascript)
I'm rotating my x axis labels by -30, however, the last few labels are been hidden and not showing (see picture below). please let me know what I can do to fix this.
code is available in the following gist:…

chawki challadia
- 434
- 7
- 19
0
votes
0 answers
Defining a new instance of a RadarCursor class in amCharts 4 vs amCharts 5
I am using amCharts for quite some time. In the past I have developed some Angular components using amCharts 4. Currently I am trying to upgrade them to amCharts 5. Throughout this process, some questions about the purpose behind the suggested…

chadoulis
- 383
- 1
- 3
- 15