mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch '1251-export-data-to-csv-in-graph-container-dev' into 'develop'
Fixed error in js library and added good export to graph container graphs See merge request !828
This commit is contained in:
commit
45c35a1a0f
@ -54,6 +54,7 @@ if (enterprise_include_once('include/functions_reporting.php') !== ENTERPRISE_NO
|
|||||||
$enterpriseEnable = true;
|
$enterpriseEnable = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html_print_input_hidden ('custom_graph', 1);
|
||||||
if ($enterpriseEnable) {
|
if ($enterpriseEnable) {
|
||||||
$buttons = reporting_enterprise_add_template_graph_tabs($buttons);
|
$buttons = reporting_enterprise_add_template_graph_tabs($buttons);
|
||||||
}
|
}
|
||||||
|
@ -34,10 +34,7 @@
|
|||||||
}
|
}
|
||||||
if (dataObjects.length > 1) {
|
if (dataObjects.length > 1) {
|
||||||
dataObjects.forEach(function (element) {
|
dataObjects.forEach(function (element) {
|
||||||
if (/^Avg.:/i.test(element.label))
|
result = element;
|
||||||
result = element;
|
|
||||||
if (/^Percentil/i.test(element.label))
|
|
||||||
result = element;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// If the avg set is missing, retrieve the first set
|
// If the avg set is missing, retrieve the first set
|
||||||
|
Loading…
x
Reference in New Issue
Block a user