fix data, labels, style draw() option handling to not set state in the