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

How to click on SVG elements using XPath and Selenium WebDriver through Java

I have an SVG object with a few rectangle elements. Using geckodriver, I am trying to click on one of the main SVG object. However with xpath-checker I am unable to detect the proper xpath for the same. Till now, I am able to drilldown through xpath…
undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
5
votes
1 answer

Handle different clicks of ampiechart slices

I have an AmPiechart with different slices. I want to perform different actions on individual clicks of each slice. PieChart.addListener("clickSlice", handleClickPie); function handleClickPie(e) { } I want to do something like: If…
Akhil Koul
  • 59
  • 1
  • 4
5
votes
4 answers

Angular 2 and AmCharts

Does anybody have any idea on how to implement Amcharts into Angular2 (BETA)? I was trying to follow the path/pattern of this question however, I was pretty successful with charts.js, but unfortunately, I can't use charts.js,for my charting…
Chad
  • 643
  • 2
  • 11
  • 22
5
votes
1 answer

Amcharts - Increase gap between legend name & value

In the graph generated with amcharts, the legend name & the value are overlapping. I've tried adding a non-breaking space to increase padding, added new line, added just spaces, tried many properties from the amcharts manual related to legend. None…
usert4jju7
  • 1,653
  • 3
  • 27
  • 59
5
votes
1 answer

AmCharts - Line Chart Overflowing graph container

I am trying to get a line graph to display correctly on my site, but for some reason it wants to overflow the graph container. I have tried reset the box-sizing to initial, setting overflow hidden on all child elements of the graph and nothing seems…
ChronixPsyc
  • 478
  • 1
  • 8
  • 22
5
votes
2 answers

Use of dataContext to display info in Gantt Amcharts

I am trying to work out dataContext use in recently released Gantt charts. I want some extra information to be displayed / an event to be fired when user clicks on a bar. I saw how it can be done with a serial graph but I can't make it work for my…
J To
  • 51
  • 2
5
votes
4 answers

AmCharts - Position ChartScrollbar on Bottom?

Is this possible? Legends have this attribute (top/bottom), and amStockCharts library has this configuration option as well. So, for the "regular" amCharts library, is it possible to position the chartScrollbar on the bottom? I want to avoid any…
Adam
  • 254
  • 2
  • 13
5
votes
1 answer

Chart plotting - No data for corresponding date issue

As you can see here, on the X-Axis the dates are equidistant inspite of the date's varying in range. [Right click->Open in a new tab if you can't see the pic] But the X-axis distance is equivalent for both. I want the X-axis to show value 0, when…
Nevin Madhukar K
  • 3,031
  • 2
  • 25
  • 52
5
votes
2 answers

Can't scroll over amcharts chart on mobile

So I have a chart that spans 100% when on mobile but when trying to scroll the screen by touching the graph and swiping it simply triggers an event instead of scrolling. For instance if I try to scroll over a pie chart it will bring up the bubble of…
giovanMusk
  • 165
  • 2
  • 9
5
votes
1 answer

Trigger change on selecting dataset [Amcharts Multiple Data Sets chart]

is it possible to trigger a 'change' on the select element of the amcharts multiple data set chart that they have provided.? $(".amChartsDataSetSelector").find("select").val("2").trigger("change"); This is the code i tried,what it does basically is…
Nevin Madhukar K
  • 3,031
  • 2
  • 25
  • 52
5
votes
1 answer

amcharts showing value inside bar

I'm using amCharts, and i want to show values inside bar This is how it looks at the moment: and I want it to be like this: This is my code to display chart: AmCharts.ready(function() { generateWidgetData('week'); // SERIAL CHART …
Web Radiona
  • 191
  • 1
  • 1
  • 8
5
votes
3 answers

amChart legend appearance

I have an amChart with many rows, like this one. The legend looks a bit awfull. Is it possible to display the legend in a single row with some scrolling? like for the columns? (I don't want to change the container div's height)
István
  • 5,057
  • 10
  • 38
  • 67
5
votes
1 answer

amChart column text rotation automatically

I am using amCharts for visualization. Is there any config option in amCharts to rotate automatically the column label text, when is too large to fit horizontally?
István
  • 5,057
  • 10
  • 38
  • 67
5
votes
1 answer

javascript Amcharts adding listeners

I have two functions like this: function zoomChart() { chart.zoomToIndexes(0, 20000); } function zoomAtStartToLast90() { var dataLength = am_chartData.length; chart.zoomToIndexes(dataLength - 90, dataLength -…
trante
  • 33,518
  • 47
  • 192
  • 272
5
votes
1 answer

Setting the initial range for AMCharts ScrollBar

I have implemented a serial chart using AMCharts but have more columns than can be realistically shown in a window. To reduce the amount drawn, I have added a ChartsScrollBar which does the trick, but initially it selects all the data. Does anyone…
tonycoupland
  • 4,127
  • 1
  • 28
  • 27