RRD Float Precision Customization (#11853)

This commit is contained in:
SourceDoctor
2020-06-25 21:51:55 +02:00
committed by GitHub
parent bd45ae0b65
commit ed70b2636a
14 changed files with 134 additions and 130 deletions

View File

@@ -82,6 +82,10 @@ if (isset($scale_rigid)) {
$rrd_options .= ' -r';
}
if (!isset($float_precision)) {
$float_precision = 2;
}
$rrd_options .= ' -E --start '.$from.' --end '.$to.' --width '.$width.' --height '.$height.' ';
if (Config::get('applied_site_style') == 'dark') {