fixed minor errorstime graphs

This commit is contained in:
daniel 2018-06-11 15:35:04 +02:00
parent adf9e4d1fe
commit abad4f4f4b
3 changed files with 10 additions and 2 deletions

View File

@ -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{

View File

@ -1044,7 +1044,7 @@ function grafico_modulo_sparse ($params) {
$legend,
$series_type,
$color,
$date_array,
$date_array_prev,
$data_module_graph,
$params,
$water_mark,

View File

@ -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']
}],