@date = ""; @totals = ""; ..... ........ @data = ( [@date], # this is the x-axis data [@totals], # first plot [@totals1] # this gives the second plot );