Refactoring of chart_element_id and Mapping::graph_values