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
0
votes
1 answer

how to hide the Threshold from Legend using Amcharts 3?

hey i am using Amcharts 3, i need to hide the threshold from the legend, this is the threshold that i am using graph Highs and graph lows what i need to add to hide it from legend 1 const graphHighs = { …
0
votes
1 answer

Amcharts, categoryaxis and bullets

I want to move a bullet on a categoryaxis after it's been created by setting the "category" prop. This works with dateAxis but not categoryaxis so I assume it's something wrong? What happens when I use categoryAxis is that the prop gets updated but…
0
votes
1 answer

how to do even spaces between grid lines in both x and y axis using amcharts

how to do even spaces between grid lines in both x and y axis using amcharts ? I need to do equal spaces between grid lines you can see the picture. what i need to change this is my graph settings: i am using amcharts 3 { valueAxes: [ …
0
votes
1 answer

AmCharts 4 : can't use categoryX for LineSeries

I tried to set the dataFields of x, I tried to use categoryX but I get Error: Data fields for series "id-126" are not properly defined , then I try to use series.dataFields.valueX but it return me an number. How can I set the x to the value of XName…
FeelRightz
  • 2,777
  • 2
  • 38
  • 73
0
votes
1 answer

How to preserve user zoom level when update data in jquery amcharts v3

In my site, I am using amcharts v3. I update data for every 10 seconds, and whenever update data and redraw charts, it reset zoom level, I want to maintain user zoom level. If anyone ha experience, please help me thanks.
BaiMaoli
  • 168
  • 2
  • 15
0
votes
1 answer

Radar doesn't fit the div properly, cutting off some of the contents. How can I fix it?

I am using amcharts and I have a grid layout on my page to store 3 elements: List, map and radar chart. The radar chart doesn't display properly for some reason. It doesn't matter what dimensions and sizes I give to the parent div, it doesn't…
vito
  • 1
  • 3
0
votes
0 answers

AMCharts gridColor

Using AMCharts and have run into some issues. I can get the grid thickness and alpha to work, but cant seem to make the gridColor to work. I have tried moving it into the valueAxes as suggested but did not work there either. I did try setting…
DGM
  • 1
  • 1
0
votes
1 answer

To start using amMaps

I tried to use amMaps library to create a map. Here is my code:
0
votes
1 answer

how to do dashed line threshold using Amchart?

This is the threshold that I am using: and this is the graph: const graphHighs = { pk: series.pk, lineColor: series.seriesMetaData.colorHex, lineThickness: series.graph.thickness, valueField:…
0
votes
1 answer

Only show valued data on xAxis in amcharts in a date range

I am trying to force on Xaxis labels for range, only the dates 1/10 or 1 Oct , for each point where i have datas , i mean i want to exclude the automated oct nov dec jan from the xaxis and place only the ones that have data , i dont mind if it does…
Sultanos
  • 463
  • 7
  • 12
0
votes
1 answer

amcharts - different color per each bar

I'm using AMCHARTS for graphs in my support system (where users can submit support tickets). I created script for this bars: https://www.amcharts.com/demos/clustered-bar-chart/ My graphs shoe, per each user, all his tickets separate by statuses how…
Roi
  • 109
  • 3
  • 11
0
votes
2 answers

Change amCharts XYCharts column colors based on json property value

I would like to change amCharts XYCharts column (or category or series) color based on the value on the json data. am4core.ready(function() { // Themes begin am4core.useTheme(am4themes_animated); // Themes end // Create chart instance var…
new_geek
  • 25
  • 5
0
votes
2 answers

Property 'seriesDataItem' does not exist on type 'Object'

I have this code in JS and I need to make it work in TypeScript. series2.events.on("dataitemsvalidated", function() { var data = []; series2.dataItems.each(function(dataItem) { data.push({ name: dataItem.categoryY +": " +…
Praveen
  • 1,772
  • 3
  • 24
  • 42
0
votes
0 answers

Use Local External data (CSV, JSON) for Javascript charts (Amcharts)

I'm playing around with Javascript charts such an Amcharts and I want to be able to use external data I have saved locally. How do I remove the information in the chart.data section so it reads data from a JSON file? I tried using…
ARH94
  • 43
  • 6
0
votes
0 answers

AmCharts Pie color for each slice (priorities graph)

I am trying to have specific color for each slice of my pie. My pie chart shows how many of each priority is stored in the database. I have three priorites: Hight, color red: #cc0000 Medium, color yellow: #ff9933 Low, color green: #66cc33 I tried…
Europa
  • 974
  • 12
  • 40
1 2 3
99
100