changed chart values based on pallav's input