populated chart data from query result

1. converted form data for parameterized query - Device
2. created query string - Device
3. executed query string - DeviceTable

side issues:
1. autocomplete items not scrollable with keyboard
2. query performance issue
3. alert dialog scrollable(?)

Todo
1. to convert chart data to highcharts data