graph: add canvas property