Charts: Heatmaps revised plugin code, now modularized and enabled for variable data