adding graphic and changing how the max works for heatmaps