Fix get_stats through socket and add value area when graph is single line