Questions tagged [amcharts5]

173 questions
1
vote
1 answer

Can't set up amcharts5 as a plugin in nuxt 3

I'm currently trying to use amcharts 5 in a Nuxt3 app, and had a couple of graphs working fine. However at some point amcharts has randomly stopped working and I get the following error: [h3] [unhandled] H3Error: am5 is not defined at…
1
vote
1 answer

am5charts pie of pie change the legend color text to red

How can I change the font color of the text below? my background is dark. my jsfiddle: https://jsfiddle.net/theg99/2vsnmb16/1/ I did mange to change the colors of the lines with: var line0 = container.children.push( am5.Line.new(root, { …
ProcolHarum
  • 721
  • 3
  • 17
1
vote
2 answers

How to change the yAxis font size in amcharts version 5? (vue js 3)

This is my code: I added this code snippet. But unfortunately, there was no change { category: "javad", direction: "rtl", align: "right", fontSize: 50, textAlign: "right", }, output: As you can see, the word "Javad" is not…
1
vote
0 answers

amCharts5 setting Map data causes it to disappear

I have initialized a Map, set heatRules and then set the data on the polygonSeries by calling polygonSeries.data.setAll(). Everything works fine until I try to set new data on the polygonSeries. When I call polygonSeries.data.setAll() from a…
1
vote
1 answer

AmCharts5: How to change the x axis label and tooltip using a DateAxis?

With the amcharts4 I do something like this for the change tooltip and label text for the x axis with the CategoryAxis... // change tooltip this.xAxis.adapter.add("getTooltipText", (text, target) => { const value = text ? parseInt(text) : -1; …
Helder
  • 13
  • 3
1
vote
2 answers

AmCharts5 set active state on country

Been stuck on this for quite a while. I have an amcharts5 map in which I want to pre-zoom to a specific country and set it's state to active. The zoom part was easy - polygonSeries.zoomToDataItem() But I can't seem to understand how to set the state…
1
vote
1 answer

AmCharts5: get active dataItem on click LineSeries

How I can get dataContext from point by click on free area? When you hover the mouse cursor, a tooltip appears, can I determine who has it currently active?
Tupical
  • 36
  • 6
1
vote
0 answers

In amcharts5, how can I dynamically set Bullet Tooltips using data from each line item in the series?

I created this codepen that configures an amcharts 5 instance with a map, 2 cities, a line between them, and a bullet (arrow) on the line. If you hover the arrow on the line, you'll see a tooltip. arrowSeries.bullets.push(function() { var arrow =…
TroyWolf
  • 346
  • 2
  • 5
1
vote
0 answers

How do I force amCharts 5 to re-render after I have changed a setting?

I am working with the Collapsible Force-Directed Tree from amCharts 5. In the main settings object I have set centerStrength: 0.4. When using series.get("centerStrength") I am able to confirm that this is indeed set to 0.4. I then try to alter…
Philipp Panik
  • 254
  • 1
  • 4
  • 15
1
vote
0 answers

amCharts, cannot disable animation in word cloud

I am using amCharts v.5 to make word clouds, but I can't find a way to reduce nor to remove animation. Animation is shown independently from the implementation of Animated theme. I read documentation and it seems strange that word clouds' animation…
1
vote
1 answer

how to change event on legend click in amcharts 5?

the same problem solve is here https://www.amcharts.com/docs/v4/tutorials/activate-deactivate-a-pie-slice-on-legend-click-instead-of-toggling/ , I need to have the same effect but it doesnt work in version 5
1
vote
1 answer

Amcharts 5 remove y axis

I am trying to remove the Y-axis from my graph. I managed to remove the X-axis. The reason for removing the Y-axis is because the graph is going to be displayed in a small area. This is what I have right now: I removed the Y-Axis on the image. This…
Europa
  • 974
  • 12
  • 40
1
vote
1 answer

How to interactivly resize bars in Amcharts gantt chart?

As a base I use this gantt chart from Amcharts: https://www.amcharts.com/demos/gantt-chart-dates/ Is there a way to let the user interactivly resize any of the items? I see there is a resizable Option for XY-charts in Amcharts but it doesn't seem…
Hokascha
  • 1,709
  • 1
  • 23
  • 41
1
vote
0 answers

How can I make a radar chart with polygons instead of circles in amCharts5?

In amCharts 4 you could make a radar with polygons: https://www.amcharts.com/docs/v4/chart-types/radar-chart/#Circular_vs_linear_grid I did not find this option in amCharts 5. Here is a demo of a radar chart with circles in amCharts…
J.T. Houtenbos
  • 956
  • 7
  • 17
1
vote
0 answers

Heatmap using amcharts5 grid and react.js

Objective I'm trying to generate programatically a matrix of colored squares like the one on the picture. Details Which is theoretically divided in 4 quadrants, meaning the second-right one is the more vivid one whilst the other three are less vivid…
1 2
3
11 12