I have a problem in display my chart. I have X element passed one number. e.g first it will be in 1 but the second bar it will be in 3. What happen with my code?

See Bluetooth Client Polling Rate - #11 by ABG

for the format favored by the AI2 Graph component's TinyDB GraphData subcomponent.