def handle_update_params(graph_data, params)
      updates = graph_data.merge(params)
      # `meta` field is automatically added when we call get_graph.
      # If we post `meta` data to update graph, `meta` is constructed circularly. Sucks!
      # Thus, I remove the `meta` here.
      updates['meta'] = '' if !params.has_key?('meta')
      updates
    end
def handle_update_params(graph_data, params)
      updates = graph_data.merge(params)
      # `meta` field is automatically added when we call get_graph.
      # If we post `meta` data to update graph, `meta` is constructed circularly. Sucks!
      # Thus, I remove the `meta` here.
      updates['meta'] = '' if !params.has_key?('meta')
      updates
    end
GrowthForecast's /json/edit/graph API requires all parameters to update, thus
 we have to merge the original graph parameters and parameters which we want to update. Sucks!

 @param [Hash] graph_data the current graph property data
 @param [Hash[ params     the parameters which we want to update
 @return [Hash] merged parameters