Trend should not go below 0

This commit is contained in:
Vincent Riquer 2014-06-18 17:06:55 +02:00
parent 2879dfd059
commit f2b2b4e993

3
graph
View File

@ -485,8 +485,9 @@ else
VDEF:intercept=data,LSLINT \ VDEF:intercept=data,LSLINT \
VDEF:growth=data,LSLSLOPE \ VDEF:growth=data,LSLSLOPE \
CDEF:trend=data,POP,COUNT,growth,*,intercept,+ \ CDEF:trend=data,POP,COUNT,growth,*,intercept,+ \
CDEF:trendline=trend,0,GT,trend,UNKN,IF \
CDEF:pred=TIME,NOW,GE,trend,UNKN,IF \ CDEF:pred=TIME,NOW,GE,trend,UNKN,IF \
LINE1:trend#FFFF00:Trend\\t \ LINE1:trendline#FFFF00:Trend\\t \
"${draw[@]:-AREA:data#00BD27}" \ "${draw[@]:-AREA:data#00BD27}" \
"${thresholds[@]}" \ "${thresholds[@]}" \
TICK:fail#ffffa0:1.0 \ TICK:fail#ffffa0:1.0 \