Exemplo n.º 1
0
 $vo_new_chart->set_chart_name($_POST[$wpbi_settings['parameter']['ch-name']]);
 $vo_new_chart->set_chart_type($_POST[$wpbi_settings['parameter']['ch-type']]);
 $vo_new_chart->set_chart_title($_POST[$wpbi_settings['parameter']['ch-title']]);
 $vo_new_chart->set_chart_title_size($_POST[$wpbi_settings['parameter']['ch-title-size']]);
 $vo_new_chart->set_chart_title_color($_POST[$wpbi_settings['parameter']['ch-title-color']]);
 $vo_new_chart->set_chart_time_format($_POST[$wpbi_settings['parameter']['ch-time-format']]);
 $vo_new_chart->set_chart_bg_color($_POST[$wpbi_settings['parameter']['ch-bgcolor']]);
 $vo_new_chart->set_chart_width($_POST[$wpbi_settings['parameter']['ch-width']]);
 $vo_new_chart->set_chart_width_percent(isset($_POST[$wpbi_settings['parameter']['ch-width-percent']]) ? 1 : 0);
 $vo_new_chart->set_chart_height($_POST[$wpbi_settings['parameter']['ch-height']]);
 $vo_new_chart->set_chart_height_percent(isset($_POST[$wpbi_settings['parameter']['ch-height-percent']]) ? 1 : 0);
 $vo_new_chart->set_chart_snapshot(isset($_POST[$wpbi_settings['parameter']['ch-snapshot']]) ? 1 : 0);
 $vo_new_chart->set_chart_stacked(isset($_POST[$wpbi_settings['parameter']['ch-stacked']]) ? 1 : 0);
 $vo_new_chart->set_chart_x_color($_POST[$wpbi_settings['parameter']['ch-x-axis-color']]);
 $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']]);