refresh values and change barheight
Posted: Wed May 26, 2010 3:22 pm
Hi All,
I have a horizontal bar that displays values from a database after I click a button. Everything works fine until the button is clicked the second time because no values are displayed in the horizontal bar.
I wonder if I'm missing something that allow me to display values no matter how many times the buttom is clicked. I tried: tChart.Refresh(); but I don't get good result.
Another problem is that the BarHeight changes depending on the values that are displayed. How can I keep barheight property at the same value. For this I have: horizBar.BarHeightPercent = 3000;
Any suggestion to solve these issues..
Thanks in advance!
I have a horizontal bar that displays values from a database after I click a button. Everything works fine until the button is clicked the second time because no values are displayed in the horizontal bar.
I wonder if I'm missing something that allow me to display values no matter how many times the buttom is clicked. I tried: tChart.Refresh(); but I don't get good result.
Another problem is that the BarHeight changes depending on the values that are displayed. How can I keep barheight property at the same value. For this I have: horizBar.BarHeightPercent = 3000;
Any suggestion to solve these issues..
Thanks in advance!