Hi,
[b]is there any method to merge one array values in to another array, i mean i have a different situation here. There are 2 instance variables and generating output like this :[/b] [code=]@users_count = [["Feb 2008", 1], ["Mar 2008", 3], ["Apr 2008", 5], ["May 2008", 5], ["Jun 2008", 3], ["Jul 2008", 2], ["Aug 2008", 1]] @customers_count = [["Mar 2008", 6], ["Apr 2008", 8], ["May 2008", 6], ["Jun 2008", 9]]
i want to merge one array in to another to look like : @chart_data = [["Feb 2008", 1], ["Mar 2008", 3, 6], ["Apr 2008", 5, 8], ["May 2008", 5, 6], ["Jun 2008", 3, 9], ["Jul 2008", 2], ["Aug 2008", 1]][/code] [b] this type of data is required to pass and display for a fusion chart representing 2 different lines with values on chart and month names on bottom, i know this would be a strange case....[/b]
any help ?? thanks