master: canvas: add enableTrendDetect option, by damin