Datasource unit

Hello,

I made an own datasource under charts but I need some help about “Unit” field.
I created a code which is return the number of clients from a specific SSID → so the correct unit would be the returned integer number.
But if the returned number is “1” (because 1 client connect to the SSID) the chart scale to '1000 m" (see the picture).

Does anyone have an idea what would be the correct unit at the datasource?
chart1.JPG

No solution to fix scale of the graphs with “1,2,3,4,5,6,…” values.
Just wait for a history and graphs will be autoscaled.

OK, thank you for your help!