fixed graph pie legend

This commit is contained in:
daniel 2017-03-07 09:46:40 +01:00
parent 9d3caa826d
commit 7ecfe679ea
2 changed files with 3 additions and 4 deletions

View File

@ -106,7 +106,7 @@ if (count($module_array) > 0) {
echo "<table><tr>";
echo "<form method='post' action='index.php?sec=reporting&sec2=godmode/reporting/graph_builder&edit_graph=1&tab=graph_editor&change_label=1&id=". $id_graph ."&graph=" . $idgs_array[$a] . "'>";
html_print_input_text ('label', $label_array[$a], '', 20, '', false, false);
html_print_input_text ('label', $label_array[$a], '', 20, 30, false, false);
html_print_submit_button ('Ok', 'btn', false, '', false);
echo "</form>";

View File

@ -164,9 +164,8 @@ function pandoraFlotPieCustom(graph_id, values, labels, width,
pie: {
show: true,
radius: 3/4,
innerRadius: 0.4,
label: label_conf
innerRadius: 0.4
//label: label_conf
}
},
legend: {