Code part 3 for historian visualisation for IBM IOT