changed related chart codification string to work better with subsequent API calls