changing charting so we dynamically get the item id