- figured out how to render scalar bar in preview