pie chart location computed instead of hardcoded