line chart label reverse lookup now works properly with foreign key type

Change-Id: Iac6b1975ece3f58b0554359c262aa9fb5364f39b