Added mechanism to reuse data for render and 2d histogram plots