Skip to content Skip to sidebar Skip to footer

Creating Serial Bar Graph For Complex Data Amcharts

Below is the response I get as json from server: [{ 'data1': { 'name': 'Test1', 'count': 0, 'amount': 0, 'amtData': [ 0,0,0,0 ], 'cntData': [

Solution 1:

You should remove the data1 to data5 properties from your dataProvider:

vardata = [
  {
    "name": "Test1",
    "count": 0,
    "amount": 0,
    "amtData": [
      0,
      0,
      0,
      0
    ],
    "cntData": [
      0,
      0,
      0,
      0
    ],
    "color": "#FF0F00"
  },
  ...
];

Look here

Post a Comment for "Creating Serial Bar Graph For Complex Data Amcharts"