Pratap, Lets say i want to use the value of ktop in a formula, such as x = 10 times ktop. How do i define it ? If i type x = 10*ktop , its not working. It will work. What do you want to with x? Just plot x and see. Also remember that ktop is an array with one value each for each bar in chart