sets path as default style for functionGraph