merge two charts