When using the "shift data" option for a graph item, negative values if entered are ignored. Still they are valid in RDDTOOL and work fine.
In order to fix this bug I only replaced in 4 places in lib/rrd.php
if ($graph_item['shift'] == CHECKED && $graph_item['value'] > 0)
with
if ($graph_item['shift'] == CHECKED && abs($graph_item['value']) > 0)
Fixed file is attached, renamed to rrd.php.txt
rrd.php.txt