Time series on x-axis

i want to display time range on x-axis which i have put in where clause UNIX_TIMESTAMP is actually 3 hours time but graph is taking time from time range which is 6 hours I do not want this, graph will plot time range which is have put in where clause plz any one can help me out.