mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
98_logProxy.pm: use prev_value instead of next_value for end of plot if interpolation is disabled. fits better for plot mode steps
git-svn-id: https://svn.fhem.de/fhem/trunk@7006 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cd44586d38
commit
9b16e37701
@ -560,7 +560,7 @@ logProxy_clipData($$$$;$)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if( $next_value ) {
|
if( $next_value ) {
|
||||||
my $value = $next_value;
|
my $value = $prev_value;
|
||||||
$value = logProxy_linearInterpolate( SVG_time_to_sec($prev_timestamp), $prev_value, SVG_time_to_sec($next_timestamp), $next_value, $to ) if( $interpolate );
|
$value = logProxy_linearInterpolate( SVG_time_to_sec($prev_timestamp), $prev_value, SVG_time_to_sec($next_timestamp), $next_value, $to ) if( $interpolate );
|
||||||
|
|
||||||
my @t = localtime($to);
|
my @t = localtime($to);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user