let legend position be style

so that our themes can inform legend placement
cc @theengineear @etpinard