added configurable vars to handler, updated for splits to render legend and colors correctly