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
6
votes
2 answers

How to create grouped bars in amCharts?

I'm using amCharts for creating chart in my form. I want to create a grouped bar chart. My JSON data is: …
diba p
  • 63
  • 1
  • 3
6
votes
2 answers

Latitude/Longitude coordinates are not correct in amMap USA map

I am building a map using the usaLow.js map. On map init, I call a json method that returns this data: [{latitude: "40.4258686",longitude: "-86.9080655"}] With this data I add to the map's data provider (mapData) with this: mapData.images =…
Anthony Veach
  • 320
  • 2
  • 10
6
votes
2 answers

Increase Size of Pie Chart in Amcharts

I am currently using amchart version 3 to generate a pie chart. It displays the pie charts in center and size is very small. How can i increase it's size? Here is my code: AmCharts.makeChart("chartdiv", { "type": "pie", …
Hello Man
  • 693
  • 2
  • 12
  • 29
6
votes
3 answers

amCharts - How can I use non-English calendar?

Is there any way to use the Persian or Arabic calendar in Amcharts trendline? Months names are not useful, because they conflict with other calendars. AmCharts Live Editor
1SaeedSalehi
  • 364
  • 1
  • 8
  • 16
6
votes
3 answers

AmMap - keeping the same zoom level and position after updating map data

I am updating the map areas of an AmMap map, but the zoom level and position is reset whenever I do. My function which is updating the map is: function setData(data) { var parsedData = JSON.parse(data); map.dataProvider.areas =…
combatdave
  • 765
  • 7
  • 17
6
votes
3 answers

Change Y Axis Value to Integer (no decimal values) in AmCharts

I have a chart in AmCharts that reflects integer values; as such I want the value in the Y Axis to also be integers however they are showing up as floating point. I have read through documentation and found reference to: numberFormatter with the…
Gedalya
  • 899
  • 4
  • 16
  • 28
6
votes
1 answer

Redraw AmStockChart

I have several AmStockCharts on the page. Those are line graphs. The data gets fetched from MySQL DB in JSON format. If user clicks on a graph dot (a bullet) then a form gets showed up where user can modify the data and save it. In this case I would…
user164863
  • 580
  • 1
  • 12
  • 29
5
votes
2 answers

amcharts: How to add an action in tooltip

I am trying to add an action in amcharts like: function myfunc(name){ alert("hi "+name); } var tooltipDetail='
detail {name}
' series1.columns.template.tooltipHTML =…
MrElephant
  • 302
  • 4
  • 26
5
votes
0 answers

Is it possible to display only one Y axis in Multi value amChart?

I have an Multi Value AmChart where I'm sending dynamic values and is working as expected but as I'm sending the values dynamically which is of percentage value it doesn't require the Y-axis separately for all the lines . Only one y axis is enough…
Kirataka
  • 484
  • 8
  • 26
5
votes
1 answer

How to get value of bubble in amcharts when click event triggered

find image from here import React, { Component } from 'react'; import * as am4core from "@amcharts/amcharts4/core"; import * as am4charts from "@amcharts/amcharts4/charts"; import am4themes_animated from…
5
votes
3 answers

In React, how to add a URL "string" as an object's property, from a Link or other component

In React, I'm setting an object's URL property (specifically, amcharts chart bullet.url), which is a string, to "../members/{member.name}" It renders with no issues. Clicking the link navigates to the page correctly. However, it seems all the…
tallman
  • 129
  • 1
  • 3
  • 10
5
votes
2 answers

How to apply horizontal alignment in amchrts legend?

I'm using amcharts to create my chart, legend is in separate container. Applying option chart.legend.align = 'right' has no effect Codepen
5
votes
2 answers

AMCharts Maps v4 - Is there a way to have more than two colors in a heatLegend?

Was thinking that it would be nice to be able to set a range of colors for a heatmap instead of just two (min and max). Like what we do for the gradient list. Something like... function am4themes_myHeatmap(target) { if (target instanceof…
Wes Noel
  • 51
  • 3
5
votes
2 answers

amcharts4 is not compiling with angular 6

I'm having trouble with compiling my app when including amcharts4. I have simply installed the amcharts4 npm package and am trying to use it in a component i've created. Am i missing something with the CLI config? ERROR in…
user2249567
  • 394
  • 4
  • 9
5
votes
3 answers

How to add a click\hit event for LineSeries in amcharts 4?

I want to know how to get the X\Y item details of a clicked line item in amcharts 4. I have the code here: https://stackblitz.com/edit/angular-playground-3qpqlq series2.segments.template.events.on("hit", (ev) => { alert('line clicked');//this gets…
Deepak
  • 1,038
  • 4
  • 18
  • 31