var products=

{ "groups": [
  { "name": "Hardware",
    "items": [
      { "code": "1", "name": "Intel" },
      { "code": "2", "name": "AMD" },
      { "code": "3", "name": "NVidia" },
      { "code": "4", "name": "Apple" },
      { "code": "5", "name": "Asus" },
      { "code": "LE", "name": "Lenovo" }
        ]
  },
  { "name": "Software",
    "items": [
      { "code": "6", "name": "Microsoft" },
      { "code": "7", "name": "Google" },
      { "code": "8", "name": "Oracle" },
      { "code": "9", "name": "Embarcadero" },
        ]
  },
  { "name": "Smart Phones",
    "items": [
      { "code": "10", "name": "Windows Phone" },
      { "code": "11", "name": "Blackberry" },
      { "code": "12", "name": "Android" },
      { "code": "IP", "name": "iPhone" },
        ]
  }
  ]
}

var sales=

{ "months": [
  { "month": "1",
    "amounts": [
      { "product": 1, "quantity": 285 },
      { "product": 2, "quantity": 583 },
      { "product": 3, "quantity": 685 },
      { "product": 4, "quantity": 823 },
      { "product": 5, "quantity": 42, "units": 2341 },
      { "product": 6, "quantity": 142 },
      { "product": 7, "quantity": 326 },
      { "product": 8, "quantity": 281 },
      { "product": 9, "quantity": 513 },
      { "product": 12, "units": 7103 }
    ]
  },
  { "month": "2",
    "amounts": [
      { "product": 1, "quantity": 960 },
      { "product": 2, "quantity": 687 },
      { "product": 3, "quantity": 263 },
      { "product": 4, "quantity": 477 },
      { "product": 5, "quantity": 56 },
      { "product": 6, "quantity": 121 },
      { "product": 7, "quantity": 399 },
      { "product": 8, "quantity": 192 },
      { "product": 9, "quantity": 590 }
    ]
  },
  { "month": "3",
    "amounts": [
      { "product": 1, "quantity": 221, "units": 5214 },
      { "product": 2, "quantity": 789 },
      { "product": 3, "quantity": 610 },
      { "product": 4, "quantity": 998 },
      { "product": 5, "quantity": 68 },
      { "product": 6, "quantity": 175 },
      { "product": 7, "quantity": 312 },
      { "product": 8, "quantity": 118 },
      { "product": 9, "quantity": 500 }
    ]
  }
  ]
}

var models =

 [
  { "id": "4",
    "items": [
      { "code": "1", "name": "iPod" },
      { "code": "2", "name": "iTouch" },
      { "code": "3", "name": "iPad" },
      { "code": "4", "name": "iPhone" },
      { "code": "5", "name": "MacBook" }
    ]
  },
  { "id": "9",
    "items": [
      { "code": "XE3", "name": "RAD Studio XE3" },
      { "code": "HTML5", "name": "HTML5 Builder" }
    ]
  }
 ];

var modelSales =
 [
  { "product": "4", "model": "2", "quantity": 321 },
  { "product": "9", "model": "XE3", "quantity": 456 }
 ];

var MonthNames=[
    { "month":1, "name":"Jan" },
    { "month":2, "name":"Feb" },
    { "month":3, "name":"Mar" },
    { "month":4, "name":"Apr" },
    { "month":5, "name":"May" },
    { "month":6, "name":"Jun" },
    { "month":7, "name":"Jul" },
    { "month":8, "name":"Aug" },
    { "month":9, "name":"Sep" },
    { "month":10, "name":"Oct" },
    { "month":11, "name":"Nov" },
    { "month":12, "name":"Dec" }
   ];

 
