I created a bar chart and I used prefab for that and for that I want to create an animation that is like a dynamic bar chart like on click of play the bar will rise upto statistical values from base. I am unable to achieve this thing. How can I achieve this.
Generally Unity animations are used to modify a particular parameter over time. This could be the scale, the position, the rotation, the sprite, etc. In your case it sounds like you'd need to use the animation to drive the value from 0 to whatever it should be. Review how to use animations in general and you'll see how to apply it to your bar chart.
Ya what you said is true and I also explored the animation present in it but I am unable to achieve the task.
Sorry, But If I am not wrong, you just need to change the size of bar graph in Animator Window for it to move. Now, its size in Animator will depend on its value. You will have to form a formula which converts, your values into size value for Animation, and then you can apply it.