mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Merge branch '1827-Graficas_TIP_eje_x_no_mantiene_ratio' into 'develop'
fixed minor errorstime graphs See merge request artica/pandorafms!1522
This commit is contained in:
commit
5e1c88cd45
@ -3072,7 +3072,7 @@ function series_type_graph_array($data, $show_elements_graph){
|
||||
) . ' ' . $str;
|
||||
}
|
||||
|
||||
if($show_elements_graph['compare'] == 'overlapped'){
|
||||
if($show_elements_graph['compare'] == 'overlapped' && $key == 'sum2'){
|
||||
$data_return['color'][$key] = $color_series['overlapped'];
|
||||
}
|
||||
else{
|
||||
|
@ -1044,7 +1044,7 @@ function grafico_modulo_sparse ($params) {
|
||||
$legend,
|
||||
$series_type,
|
||||
$color,
|
||||
$date_array,
|
||||
$date_array_prev,
|
||||
$data_module_graph,
|
||||
$params,
|
||||
$water_mark,
|
||||
|
@ -1632,6 +1632,8 @@ function pandoraFlotArea(
|
||||
axisLabelFontFamily: font+'Font',
|
||||
axisLabelPadding: 0,
|
||||
mode: "time",
|
||||
timezone: "browser",
|
||||
localTimezone: true,
|
||||
//tickFormatter: xFormatter,
|
||||
tickSize: [maxticks, 'hour']
|
||||
}],
|
||||
@ -1733,6 +1735,8 @@ if (vconsole) {
|
||||
axisLabelFontFamily: font+'Font',
|
||||
axisLabelPadding: 0,
|
||||
mode: "time",
|
||||
timezone: "browser",
|
||||
localTimezone: true,
|
||||
//tickFormatter: xFormatter,
|
||||
tickSize: [maxticks, 'hour']
|
||||
}],
|
||||
@ -1804,6 +1808,8 @@ if (vconsole) {
|
||||
axisLabelFontFamily: font+'Font',
|
||||
axisLabelPadding: 0,
|
||||
mode: "time",
|
||||
timezone: "browser",
|
||||
localTimezone: true,
|
||||
//tickFormatter: xFormatter,
|
||||
tickSize: [maxticks_zoom, 'hour']
|
||||
}],
|
||||
@ -1843,6 +1849,8 @@ if (vconsole) {
|
||||
axisLabelFontFamily: font+'Font',
|
||||
axisLabelPadding: 0,
|
||||
mode: "time",
|
||||
timezone: "browser",
|
||||
localTimezone: true,
|
||||
//tickFormatter: xFormatter,
|
||||
tickSize: [maxticks_zoom, 'hour']
|
||||
}],
|
||||
|
Loading…
x
Reference in New Issue
Block a user