y-offset, and pass tree map or keys for legend