Make macro forr setting data of rrd or graph