Page 1 of 1

How to find height of tallest bar in bar chart

Posted: Mon Nov 10, 2008 6:44 am
by 13045482
Hi
I have a bar chart
How to know the value of highest bar ? That is for example there are 3 bars. the tallest bar is 460 while the shortest is 200 on Yaxis. So I want a function or command to know the value of tallest bar in this case its (460).

Posted: Mon Nov 10, 2008 10:00 am
by narcis
Hi shikha,

You can use MaxYValue property for that:

Code: Select all

			double maxVal = bar1.MaxYValue();