$vo_new_chart->set_chart_x_precision($_POST[$wpbi_settings['parameter']['ch-x-precision']]); $vo_new_chart->set_chart_x_thickness($_POST[$wpbi_settings['parameter']['ch-x-axis-thick']]); $vo_new_chart->set_chart_x_grid_color($_POST[$wpbi_settings['parameter']['ch-x-grid-color']]); $vo_new_chart->set_chart_x_grid_lines($_POST[$wpbi_settings['parameter']['ch-x-grid-step']]); $vo_new_chart->set_chart_x_label($_POST[$wpbi_settings['parameter']['ch-x-label']]); $vo_new_chart->set_chart_x_labels_color($_POST[$wpbi_settings['parameter']['ch-x-label-color']]); $vo_new_chart->set_chart_x_labels_size($_POST[$wpbi_settings['parameter']['ch-x-label-size']]); $vo_new_chart->set_chart_x_labels_rotation($_POST[$wpbi_settings['parameter']['ch-x-label-rotation']]); $vo_new_chart->set_chart_x_legend($_POST[$wpbi_settings['parameter']['ch-x-legend']]); $vo_new_chart->set_chart_x_legend_color($_POST[$wpbi_settings['parameter']['ch-x-legend-color']]); $vo_new_chart->set_chart_x_legend_size($_POST[$wpbi_settings['parameter']['ch-x-legend-size']]); $vo_new_chart->set_chart_y_color($_POST[$wpbi_settings['parameter']['ch-y-axis-color']]); $vo_new_chart->set_chart_y_precision($_POST[$wpbi_settings['parameter']['ch-y-precision']]); $vo_new_chart->set_chart_y_range($_POST[$wpbi_settings['parameter']['ch-y-range']]); $vo_new_chart->set_chart_y_label($_POST[$wpbi_settings['parameter']['ch-y-label']]); $vo_new_chart->set_chart_y_currency($_POST[$wpbi_settings['parameter']['ch-y-currency']]); $vo_new_chart->set_chart_y_thickness($_POST[$wpbi_settings['parameter']['ch-y-axis-thick']]); $vo_new_chart->set_chart_y_grid_color($_POST[$wpbi_settings['parameter']['ch-y-grid-color']]); $vo_new_chart->set_chart_y_grid_lines($_POST[$wpbi_settings['parameter']['ch-y-grid-step']]); $vo_new_chart->set_chart_y_labels_color($_POST[$wpbi_settings['parameter']['ch-y-label-color']]); $vo_new_chart->set_chart_y_labels_size($_POST[$wpbi_settings['parameter']['ch-y-label-size']]); $vo_new_chart->set_chart_y_labels_rotation($_POST[$wpbi_settings['parameter']['ch-y-label-rotation']]); $vo_new_chart->set_chart_y_legend($_POST[$wpbi_settings['parameter']['ch-y-legend']]); $vo_new_chart->set_chart_y_legend_color($_POST[$wpbi_settings['parameter']['ch-y-legend-color']]); $vo_new_chart->set_chart_y_legend_size($_POST[$wpbi_settings['parameter']['ch-y-legend-size']]); $vo_old_chart = new vo_chart(NULL); $vo_old_chart->set_chart_id($_POST[$wpbi_settings['parameter']['ch-id']]); $dao_chart = new dao_chart($wpdb, $wpbi_sql['tname']['charts']); $dao_chart->edit($vo_old_chart, $vo_new_chart); //Drop cols metadata $selected_charts = $_POST[$wpbi_settings['parameter']['ch-id']];