FAQ Database Discussion Community


Increase Size of Pie Chart in Amcharts

javascript,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", "pathToImages": "classes/amcharts/images/", "balloonText": "[[title]]<br><span style='font-size:14px'><b>[[value]]</b> ([[percents]]%)</span>", "titleField": "type", "valueField": "number", "fontSize": 14,...

referring to jsfiddle.net with POST data

javascript,php,post,jsfiddle,amcharts
In the site http://www.amcharts.com/demos/ I found that they are providing way to edit the demos in jsfiddle but for every demo the jsfiddle.net link remains the same as follows http://jsfiddle.net/api/post/library/pure/ I guess they are referring jsfiddle.net with some post data. Though i'm not sure about that. Any idea how it...

How to disable the labels of x-axis amcharts

javascript,amcharts
I am trying not to show the labels of x-axis, which in this case are: "7.5, 8.0, 8.5, 9.0" and so on. This is what I have tried so far: <div id="chartdiv"></div> var chart = AmCharts.makeChart("chartdiv", { "theme": "light", "type": "serial", "dataProvider": [{ "name": "3s", "startTime": 8, "endTime": 11, "color":...

How to stack Charts with amchart?

graph,stack,scrollbar,amcharts
is it possible to stack 2 or more graphs in one chart? with the same Scrollbar / Chartcursor? I tried it with the live editor, but havn't found any option to make this possible. Here som pictures for explaination: At the moment i have this graph: http://imgur.com/XpU42xK But i want...

How to highlight Amchart area using guide, programmatically

charts,amcharts
I am trying to highlight area on Amcharts but unable to do so with help of guide. I referred an example from here below is the code which is not working however if I add a line guide it works. Here is the JSFiddle code snippet http://jsfiddle.net/GreyCells/d1ywab37/ var guide1 =...

Value of selected country amcharts

maps,selected,amcharts
When I select country on map, how can I get a value of this country and pass it to variable? Thanks a lot! I used amcharts.com Or it can be another solution? I you know how to choose country on map, i'll be very grateful!

Retrieve data from Parse.com and Display it in amcharts.js or highchart.js

javascript,highcharts,parse.com,amcharts
How can I retrieve data from Parse.com through javascript or API and display it with amcharts.js or highcharts.js? Or are there any other chart js I can try? Thanks in advance....

clickGraph on AmChart not working

amcharts
In my exmaple I am trying to take a user to report page, when user clicks on SerialChart Graph. AmCharts.makeChart("chartdiv", { "type": "serial", ... "clickGraph":function(e) { alert(1); } }); The above does not work and the event is never triggered. I looked into the documentation a few times, cannot figure...

How to format Dates on Category Axis in amCharts Line Chart?

amcharts
amCharts Line Chart When amCharts line chart is zoomed around end of the year, it hides the letter Jan and places the number for Year. [Please refer JSFiddle in the comment below] Requirement is to have Date format similar to: Nov 2014, Dec 2014, Jan 2015, Feb 2015. In other...

How to alter legend labelText for AmCharts?

javascript,amcharts
I am creating a pie chart using AmCharts. I am trying to alter the legend lablelText to show the title, percent and value. I have tried the following which is not working: (This is being passed to the AmCharts.makeChart() method "legend": { "align": "center", "position": "right", "marginRight": 21, "markerType": "circle",...

Always having the year display at my origin of a graph in AMCharts

amcharts
Good day all I am having a bit of trouble. I have a graph that ranges from 2012 to 2015. I need my year to display at my origin once I zoom in. At this stage my the year only displays at the beginning of every year. It takes the...

Positioning an individual label on a scatter plot in AMcharts

amcharts
good day I hope someone can help me. I created a scatter plot on AMcharts and each data point has its own label, but as soon as I put in more data the labels over flow. I have tried positioning each label individually, but I cant seem to get it...

AmChart.makeChart properties not having an effect

javascript,amcharts
I am using the makeChart method of AmCharts to construct a line chart, see the jsfiddle - http://jsfiddle.net/Lw7ahxwh/ The problem I am having is that some of the properties are not changing the chart, whereas others of the same field are: graphs: [ { id: "sensordata1", title: "Sensor 1", valueField:...

Creating a “normal” line chart in amcharts.js with arrays? [closed]

javascript,python,json,flask,amcharts
I'm growing desperate with amCharts doing the simplest task. Well, at least what I think is simple. I want to create a normal line chart with "normal" data. What do I mean with normal? Well, having an array with my y values, and maybe also one for x: x =...

Make a chart with some values from my table

javascript,charts,playframework,amcharts
So I have a week since I am trying to solve this problem and I can't get it done . I have this table : <table id= "myTable" style="width:100%"> <tr class="val"> <th>value</th> @for((c,w)<- map){ <td>@c</td> } </tr> <tr class="timp"> <th>time</th> @for(k <- timeList){ <td> @k</td> } </tr> <tr class="data"> <th>date</th>...

How to delete an amCharts Chart

amcharts
I'm using the free version of AmCharts, and I have a simple question - how do you delete a Chart after it has been loaded? I've searched the internet, but haven't come up on much.

IcCube - AmChart scrollbar drag icons not showing

amcharts,iccube
In IcCube reporting, I added an amchart, in the widget advanced properties, I set the Scrollbar.Hide Resize Grips to "no" in order to show the scroll... The scroll is visible but not the drag icons... if I look in chrome's debugger, I can see that it's looking for this file...

amcharts not showing theme background in Android webview

javascript,android,webview,amcharts
I am using a webview to host amcharts in an android application. The basic setup for the code is that I form an HTML document programatically and load it hosted in my assets folder. The amcharts libraries are located in a subdirectory of the assets folder. So far, this setup...

How do I add language translation to amcharts?

javascript,php,html,css,amcharts
I have added a cn.js in amcharts/lang, and also at makechart added language : "cn" property but nothing seems to happen. Also, is there any way to translate the axis labels? ...

How to handle click event on AmCharts Stock graph?

javascript,amcharts
I'm trying to do it using amStockCharts v3. I've seen this question: here, but it doesn't seems to work with Stock charts. How can I handle click event for this chart - http://www.amcharts.com/demos/multiple-data-sets/? I need to be able to get date and value corresponding to a clicked point....

jsfiddle Amchart example not working

javascript,jsfiddle,amcharts
I have implemented this AmChart example from codepen: http://codepen.io/amcharts/pen/e44996db5f40cf18b586f089a9988d32 var chart = AmCharts.makeChart("chartdiv", { (code above is required by stackoverflow as I have posted a codepen.io link) in jsfiddle: http://jsfiddle.net/3j9pnr6v/ var chart = AmCharts.makeChart("chartdiv", { (code above is required by stackoverflow as I have posted a jsfiddle link) I cannot...

AmCharts/JSF - Invalid data shown in Line Graph after push

javascript,jsf,websocket,amcharts
I have a problem with life data updates for AmCharts Line Graph. The event that data changed came to the chart but it shows only invalid values(see screenshot) My JavaScript that should handle messages from Bean DataGenerator window.chartData = [{ "date" : "1.1.2014", "value" : 0 }]; AmCharts.ready(function() { window.AmSerialChart...

Draw a line against to indicate the max value in Amcharts

javascript,json,charts,amcharts
I am plotting a graph which contains a lot of data. 96 plots a day and the user can fetch data for a maximum range of 62 days. I am using Amcharts to implement the same. I need to show the user a line against the highest value of the...

How to get Render Performance for Javascript based Charting Libraries?

javascript,performance,charts,highcharts,amcharts
To preface I am pretty new to programming Javascript, but I have been working with various libraries for a while now. I've been tasked to get performance metrics for various charting libraries to find the fastest and most flexible based on some of the libraries available (e.g. AmCharts, HighCharts, SyncFusion,...

How to remove legend from bottom of chart - amcharts

jquery,linechart,amcharts
Can you please help me out to remove the legend (of y-axis data) from the below the line-chart. This is the icon that helps to remove the corresponding line from the line-chart. See inline image...

amchart changebullet on click

javascript,jquery,amcharts
Im trying to change the image of the bullet Im clicking on (in amchart) and it does not effect any. Im trying to have an eventlistner, and change the property of the item in a function. but it doesnt have any effect on the ui somehow anyone have an idea...

Re basing in AMCharts

amcharts
Is it possible for a chart to rebase in AMCHarts? If so how? What I did now is asking the chart to recalculate to percents once compared, the only trouble I have now is how do I get it to rebase from a 100 and not from 0 or the...

AmCharts set to always display labels on stacked columns

charts,bar-chart,amcharts
I am trying to make my stacked column amChart always display value labels on the columns. Even if they do not fit. I am using this code: var qtrchart = AmCharts.makeChart("chartdiv", { "type": "serial", "theme": "none", "legend": { "autoMargins": false, "borderAlpha": 0.2, "equalWidths": false, "horizontalGap": 10, "markerSize": 10, "useGraphSettings": true,...