Fixed a bug getting the colour for the specific data point for line graphs.