add graph for light sensor